PgLayout.setWidth

Sets the width to which the lines of the PangoLayout should wrap or ellipsized.

The default value is -1: no width set.

class PgLayout
void
setWidth
(
int width
)

Parameters

width int

the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed.

Meta