Missing setTotalAngle & setObjectScaling. #10414
Unanswered
hamzawain7
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you have originX/Y set to center, what you can do is:
example: const angle = rect.group.getTotalAngle();
const missingAngle = targetTotalAngle - angle;
rect.angle = missingAngle |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have getTotalAngle, setObjectScaling & getObjectOpacity to get the properties while counting the group properties. I want to set the absolute values for an item's angle, scaling, and opacity, but I can't find a function or way to do that. Fyi, something like the already existing setXY.
Beta Was this translation helpful? Give feedback.
All reactions