:right-sidebar: True Rectangle =================================================================== .. currentmodule:: gi.repository.Pango .. class:: Rectangle(*args, **kwargs) :no-contents-entry: 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, :obj:`~gi.repository.Pango.Font.get_glyph_extents`\.) Fields ------ .. rst-class:: interim-class .. class:: Rectangle :no-index: .. attribute:: height Height of the rectangle. .. attribute:: width Width of the rectangle. .. attribute:: x X coordinate of the left side of the rectangle. .. attribute:: y Y coordinate of the the top side of the rectangle.