How to move the origin of the text from the top left corner to the it's absolute center? #726
Unanswered
GiridharKarnik
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Answered here: #838 (comment) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I position a text within a canvas using the x and y attribute, I have noticed that the
x
andy
values indicate where the top left corner of theText
element will be placed on the canvas. Like in the below image,How can I move the origin of the Text element to its center, Like shown in the image below.
Beta Was this translation helpful? Give feedback.
All reactions