Class Rectangle

All Implemented Interfaces:
PointerInterface

public class Rectangle extends Record
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,
[method@Pango.Font.get_glyph_extents].)

https://docs.gtk.org/Pango/struct.Rectangle.html

  • Field Details

  • Constructor Details

    • Rectangle

      public Rectangle(PointerContainer pointer)
    • Rectangle

      public Rectangle()
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldX

      public void setFieldX(int x)
      X coordinate of the left side of the rectangle.
    • getFieldX

      public int getFieldX()
      X coordinate of the left side of the rectangle.
    • setFieldY

      public void setFieldY(int y)
      Y coordinate of the the top side of the rectangle.
    • getFieldY

      public int getFieldY()
      Y coordinate of the the top side of the rectangle.
    • setFieldWidth

      public void setFieldWidth(int width)
      width of the rectangle.
    • getFieldWidth

      public int getFieldWidth()
      width of the rectangle.
    • setFieldHeight

      public void setFieldHeight(int height)
      height of the rectangle.
    • getFieldHeight

      public int getFieldHeight()
      height of the rectangle.