Font.getEscWidthX

Function/Meaning

Amount of movement of the X coordinate in the horizontal direction of the character

Type
Fontclassmethod of
Syntax
getEscWidthX(text)
Arguments
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.

Return value

Returns the amount of horizontal movement of the X coordinate of the character in pixels

Explanation

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.

Reference
Font.getEscWidthY
Font.getEscHeightX
Font.getEscHeightY