Package: pango

Function pango:layout-line-readonly

Lambda List

pango:layout-line-readonly (layout line)

Arguments

layout -- a pango:layout object
line -- an integer for the index of a line, which must be between 0 and (pango:layout-line-count layout) - 1, inclusive

Return Value

The requested pango:layout-line instance, or nil if the index is out of range. This Pango layout line will become invalid if changes are made to the PangoLayout. No changes should be made to the line.

Details

Retrieves a particular line from a Pango layout. This is a faster alternative to the pango:layout-line function, but the user is not expected to modify the contents of the line (glyphs, glyph widths, and so on).
 

See also

2025-2-15