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?
optionalindex?:bigint|null
Defined in: packages/cairo/src/structs.ts:44
Index of the glyph in the font.
x?
optionalx?:number|null
Defined in: packages/cairo/src/structs.ts:46
Horizontal position of the glyph origin.
y?
optionaly?:number|null
Defined in: packages/cairo/src/structs.ts:48
Vertical position of the glyph origin.