Rectangle

class Rectangle(pointer: <Error class: unknown class><<Error class: unknown class>>)

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

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var height: Int

height of the rectangle.

Link copied to clipboard
val pangoRectanglePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var width: Int

width of the rectangle.

Link copied to clipboard
var x: Int

X coordinate of the left side of the rectangle.

Link copied to clipboard
var y: Int

Y coordinate of the the top side of the rectangle.