Pango.Rectangle

Fields

Name Type Access Description
height int r/w height of the rectangle.
width int r/w width of the rectangle.
x int r/w X coordinate of the left side of the rectangle.
y int r/w Y coordinate of the the top side of the rectangle.

Methods

None

Details

class Pango.Rectangle

The Pango.Rectangle structure represents a rectangle. It is frequently used to represent the logical or ink extents of a single glyph or section of text. (See, for instance, Pango.Font.get_glyph_extents())