RectangleInt

constructor()(source)

Allocate a new RectangleInt.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


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

Allocate a new RectangleInt using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


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

Allocate a new RectangleInt.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

x
y
width
height

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

Allocate a new RectangleInt using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

x
y
width
height
scope

The AutofreeScope to allocate this structure in.


constructor(cairoRectangleIntPointer: <Error class: unknown class><<Error class: unknown class>>)(source)