CrImage::Font::TextLayout
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
Sourcelines
Sourcemax_width
Sourcetotal_height
Source