Is there a method or workaround to return the text width of a string in a Text Shape, in KineticJs?
I would need it to position precisely the TextShape on the canvas.
Is there a method or workaround to return the text width of a string in a Text Shape, in KineticJs?
I would need it to position precisely the TextShape on the canvas.
Kinetic.Text has getTextHeight() and getTextWidht() methods to do this for you.
© 2022 - 2024 — McMap. All rights reserved.