Replies: 4 comments 8 replies
-
fabric.Group was here before i joined, so pre 2014. Group has virtually no features apart add and remove. I understand that having the objects changing coordinates when grouped is boring and is an annoyance. |
Beta Was this translation helpful? Give feedback.
-
I tried #7316. IMO it can't serve as a viable solution. There are too many cases that need ugly workarounds. |
Beta Was this translation helpful? Give feedback.
-
What are the cases? the Layer can complement the Group. |
Beta Was this translation helpful? Give feedback.
-
I was thinking of a next generation for
Group
in light of issues and features I need working in nested objects (e.g. #7130 #7142).I wanted to understand the considerations that lead to designing
Group
as it is. In particular, why doesGroup
transform objects to group's coordinate plane and not a different approach?I have in mind an object, let's call it
DrawingGroup | VirtualGroup
, that will extendCollection
and it's functionality will differ fromGroup
in one major aspect. It will pre-transform the rendering context so that all objects will remain in the canvas coordinate plane. It will needGroup
resizing logic as well as a mechanism to apply transformations to it's objects.I think this will fix lots of issues regarding geometry and more for nested objects and will unlock powerful features with ease (e.g. #6776) and can eventually deprecate
Group
.@asturur what do you think?
I saw #6316 that has an interesting solution as well.
Beta Was this translation helpful? Give feedback.
All reactions