I found some issues for moving position of Group and Path.
Problem of center and point prop on Group and Path component
both prop perfectly work for shaped paths, like Circle, Rectangle ...etc.
On the other hand, Path and Group does not reflect its initial position by these props.
For example, this below does not set its center position to [100, 100].
<Path
segments={[[20, 20], [80, 80], [140, 20]]}
center={[100,100]}
fillColor={'black'}
/>
This also does not work.
<Path
segments={[[20, 20], [80, 80], [140, 20]]}
point={[100,100]}
fillColor={'black'}
/>
introducing position prop
position prop works for not only shaped paths but also all Item based objects, Path, Group. Layers ...etc. But currently changing these props does not move its actual position. It would be better if this prop is available, like below.
<Path
segments={[[20, 20], [80, 80], [140, 20]]}
position={new Point(100,100)}
fillColor={'black'}
/>
I found some issues for moving position of Group and Path.
Problem of
centerandpointprop on Group and Path componentboth prop perfectly work for shaped paths, like Circle, Rectangle ...etc.
On the other hand, Path and Group does not reflect its initial position by these props.
For example, this below does not set its center position to [100, 100].
This also does not work.
introducing
positionproppositionprop works for not only shaped paths but also all Item based objects, Path, Group. Layers ...etc. But currently changing these props does not move its actual position. It would be better if this prop is available, like below.