Skip to content

API Reference / @gtkx/cairo / CairoGlyph

Type Alias: CairoGlyph

CairoGlyph = object

Defined in: types.d.ts:2

One glyph to draw: its index in the font and its position in user space.

Properties

index

index: number

Defined in: types.d.ts:4

Index of the glyph in the font.


x

x: number

Defined in: types.d.ts:6

Horizontal position of the glyph origin.


y

y: number

Defined in: types.d.ts:8

Vertical position of the glyph origin.

Released under the MPL-2.0 License.