Layout.setWidth
void setWidth(int width)Sets the width to which the lines of the [pango.layout.Layout] should wrap or ellipsized.
The default value is -1: no width set.
Parameters
width | the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed. |