Rectangle#

class Rectangle(*args, **kwargs)#

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, get_glyph_extents.)

Fields#

class Rectangle
height#

Height of the rectangle.

width#

Width of the rectangle.

x#

X coordinate of the left side of the rectangle.

y#

Y coordinate of the the top side of the rectangle.