Amount of movement of the X coordinate in the horizontal direction of the character
text | Specify the character string for which you want to obtain the amount of movement of the X coordinate in the horizontal direction of the character. |
Returns the amount of horizontal movement of the X coordinate of the character in pixels
You can get the amount of movement of the character drawing position required when drawing the character specified by the current font setting.
With this method, you can get the amount of movement on the X coordinate when moving horizontally (left) with respect to the drawing direction of the character.