You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through the konva documentation regarding mirror a shape.
Currently i believe we can mirror a shape on x-axis or y-axis. In that case, it is mirrored with respect to 0,0 origin point.
Then i can use offset to mirror a shape from a custom origin point.
My requirement is bit different. Assume, there are n number of axis in 2d model. lets say one axis at every 5 degree angle from origin point. I want to mirror a shape from those axis. My mirror functionality should not be limited to x or y axis. if i can pass a angle, offset and shape, it should mirror the shape through that axis which will be drawn on that angle from origin.
Please see below image created, where i want to rotate the rectangle shape through purple axis.
The text was updated successfully, but these errors were encountered:
I went through the konva documentation regarding mirror a shape.
Currently i believe we can mirror a shape on x-axis or y-axis. In that case, it is mirrored with respect to 0,0 origin point.
Then i can use offset to mirror a shape from a custom origin point.
My requirement is bit different. Assume, there are n number of axis in 2d model. lets say one axis at every 5 degree angle from origin point. I want to mirror a shape from those axis. My mirror functionality should not be limited to x or y axis. if i can pass a angle, offset and shape, it should mirror the shape through that axis which will be drawn on that angle from origin.
Please see below image created, where i want to rotate the rectangle shape through purple axis.
The text was updated successfully, but these errors were encountered: