Rectangle

class Rectangle(val pangoRectanglePointer: <Error class: unknown class><<Error class: unknown class>>)(source)

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

Allocate a new Rectangle.

constructor(scope: <Error class: unknown class>)

Allocate a new Rectangle using the provided AutofreeScope.

constructor(    x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)

Allocate a new Rectangle.

constructor(    x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>,     scope: <Error class: unknown class>)

Allocate a new Rectangle using the provided AutofreeScope.

constructor(pangoRectanglePointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
var height: <Error class: unknown class>

height of the rectangle.

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

width of the rectangle.

Link copied to clipboard
var x: <Error class: unknown class>

X coordinate of the left side of the rectangle.

Link copied to clipboard
var y: <Error class: unknown class>

Y coordinate of the the top side of the rectangle.

Functions

Link copied to clipboard
open override fun toString(): String