Layout.getHeight

int getHeight()

Gets the height of layout used for ellipsization.

See pango.layout.Layout.setHeight for details.

Returns

the height, in Pango units if positive,

or number of lines if negative.