getWidth

fun getWidth(): Int

Computes the logical width of the glyph string.

This can also be computed using method@Pango.GlyphString.extents. However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of

Return

the logical width of the glyph string.

Since

1.14