Glyph constructor
Glyph(glyph_index, advance, advance_offset, ascender_offset)
Initializes new instance of this class.
def __init__(self, glyph_index: int, advance: int, advance_offset: int, ascender_offset: int):
...
Parameter | Type | Description |
---|---|---|
glyph_index | int | Glyph index. |
advance | int | Advance metric of the glyph. |
advance_offset | int | Horizontal (x) offset. |
ascender_offset | int | Vertical (y) offset. |
See Also
- module aspose.words.shaping
- class Glyph