-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple canvas layer support? #7692
Comments
@asturur this makes me think about a feature. |
Yes with many canvases you could of course redraw just a group or a layer, right?
|
A 3-canvas system where the selected object is in a central layer would be a huge boost to performance, but would create cause difficulties when an active selection includes objects at different indexes, with non-selected objects in between. I suppose it could draw all objects between the lowest to highest index of the selection on the center canvas to deal with that edge case? |
You mean when |
Yes. Having |
Good point, I guess this is why it wasn't done. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
useEffect(() => {
// canvas.calcOffset()
}, []); I can add the multiple canvas but cannot give adding shapes or elements in the currently selelcted canvas it always adding at first canvas alone in react ???? |
hey, is it possible to create multiple canvas layer in fabric to speed up performance?
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas
as we know , using multiple layer to render some complex scenes is a efficient way. so I wonder this feature is under ur plans or it is out of ur plans
The text was updated successfully, but these errors were encountered: