Skip to content

Pango.Rectangle

record (struct)

The PangoRectangle structure represents a rectangle.

PangoRectangle is frequently used to represent the logical or ink extents of a single glyph or section of text. (See, for instance, Font.get_glyph_extents.)

Properties

x

x: int  # read/write

y

y: int  # read/write

width

width: int  # read/write

height

height: int  # read/write