Skip to content

API Reference / @gtkx/cairo / TextClusterConstructorProps

Type Alias: TextClusterConstructorProps

TextClusterConstructorProps = object

Defined in: structs.d.ts:33

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

Properties

numBytes?

optional numBytes?: number | null

Defined in: structs.d.ts:35

Number of UTF-8 bytes the cluster covers.


numGlyphs?

optional numGlyphs?: number | null

Defined in: structs.d.ts:37

Number of glyphs the cluster covers.

Released under the MPL-2.0 License.