Skip to content

API Reference / @gtkx/cairo / DeviceOffset

Type Alias: DeviceOffset

DeviceOffset = object

Defined in: types.d.ts:181

The offset a surface adds to device coordinates.

Properties

xOffset

xOffset: number

Defined in: types.d.ts:183

Horizontal offset in device units.


yOffset

yOffset: number

Defined in: types.d.ts:185

Vertical offset in device units.

Released under the MPL-2.0 License.