TextLayout

Overview

TextLayout is a class in Aspose.Font FOSS for Python.

Result of a TextRenderer.layout() call.

Properties: ascender, descender, glyphs, total_width.

Properties

NameTypeAccessDescription
glyphslist[GlyphLayout]Read/WriteGets or sets the glyphs.
total_widthfloatRead/WriteGets or sets the total width.
ascenderfloatRead/WriteGets or sets the ascender.
descenderfloatRead/WriteGets or sets the descender.

See Also