Abstract interface for defining the geometry of a text layout area. This allows for different shapes like rectangles and circles.
Optional
Optional font family name.
The font size in pixels.
The height of the layout in pixels.
Readonly
The starting Y coordinate for laying out text.
Text alignment within each line.
The width of the layout in pixels.
Gets the layout parameters (width and x-offset) for a line at a specific Y position. Returns null if the line is outside the displayable area.
Abstract interface for defining the geometry of a text layout area. This allows for different shapes like rectangles and circles.