Skip to content

API Reference / @gtkx/cairo / InkExtents

Type Alias: InkExtents ​

InkExtents = object

Defined in: packages/cairo/src/types.ts:223

The area a recording surface has been drawn on, in its coordinate space.

Properties ​

height ​

height: number

Defined in: packages/cairo/src/types.ts:231

Height of the drawn area.


width ​

width: number

Defined in: packages/cairo/src/types.ts:229

Width of the drawn area.


x0 ​

x0: number

Defined in: packages/cairo/src/types.ts:225

Horizontal position of the left edge.


y0 ​

y0: number

Defined in: packages/cairo/src/types.ts:227

Vertical position of the top edge.