CrImage::Font::TextLayout
Inherits Reference / Object
TextLayout represents the layout information for multi-line text.
Contains the split lines, their heights, and total dimensions after word wrapping and line breaking calculations.
Properties:
lines: Array of text lines after wrappingline_heights: Height of each line in pixelstotal_height: Total height of all linesmax_width: Maximum width of any line
Constructors
Instance methods
line_heights
Sourceline_heights=(line_heights : Array(Int32))
Sourcelines
Sourcemax_width
Sourcemax_width=(max_width : Int32)
Sourcetotal_height
Sourcetotal_height=(total_height : Int32)
Source