(5.5.0) scribble_get_glyph_property - JujuAdams/ScribbleOldDocs GitHub Wiki
scribble_get_glyph_property(fontName, character, property)
Returns: Real-value for the specified property
Argument | Name | Purpose |
---|---|---|
0 | fontName |
The target font, as a string |
1 | character |
Target character, as a string |
2 | property |
Property to return, see below |
Three properties are available for getting:
-
SCRIBBLE_GLYPH_X_OFFSET
: x coordinate offset to draw the glyph -
SCRIBBLE_GLYPH_Y_OFFSET
: y coordinate offset to draw the glyph -
SCRIBBLE_GLYPH_SEPARATION
: Effective width of the glyph, the distance between this glyph's right edge and the left edge of the next glyph. This can be a negative value!