Skip to content

API Reference / @gtkx/cairo / GlyphConstructorProps

Type Alias: GlyphConstructorProps ​

GlyphConstructorProps = object

Defined in: packages/cairo/src/structs.ts:42

Initial field values for a Glyph; a field left out or set to null keeps zero.

Properties ​

index? ​

optional index?: bigint | null

Defined in: packages/cairo/src/structs.ts:44

Index of the glyph in the font.


x? ​

optional x?: number | null

Defined in: packages/cairo/src/structs.ts:46

Horizontal position of the glyph origin.


y? ​

optional y?: number | null

Defined in: packages/cairo/src/structs.ts:48

Vertical position of the glyph origin.