Skip to content

API Reference / @gtkx/cairo / GlyphConstructorProps

Type Alias: GlyphConstructorProps

GlyphConstructorProps = object

Defined in: structs.d.ts:24

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

Properties

index?

optional index?: bigint | null

Defined in: structs.d.ts:26

Index of the glyph in the font.


x?

optional x?: number | null

Defined in: structs.d.ts:28

Horizontal position of the glyph origin.


y?

optional y?: number | null

Defined in: structs.d.ts:30

Vertical position of the glyph origin.

Released under the MPL-2.0 License.