pangoLayoutGetLine {RGtk2} | R Documentation

## pangoLayoutGetLine

### Description

Retrieves a particular line from a `PangoLayout`.

### Usage

    pangoLayoutGetLine(object, line)

### Arguments

``object`` | [`PangoLayout`] a `PangoLayout`
``line`` | [integer] the index of a line, which must be between 0 and `pango_layout_get_line_count(layout) - 1`, inclusive.

### Details

Use the faster `pangoLayoutGetLineReadonly` if you do not plan to modify the contents of the line (glyphs, glyph widths, etc.).

### Value

[`PangoLayoutLine`] the requested `PangoLayoutLine`, or `NULL` if the index is out of range. This layout line can be ref'ed and retained, but will become invalid if changes are made to the `PangoLayout`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]