Skip to content

vyaz-monorepo / renderers/src / CursorOptions

Interface: CursorOptions

Defined in: renderers/src/CanvasRenderer.ts:47

Options for cursor rendering.

Properties

color?

optional color?: string

Defined in: renderers/src/CanvasRenderer.ts:49

Cursor color. Default: '#000'.


height?

optional height?: number

Defined in: renderers/src/CanvasRenderer.ts:53

Cursor height relative to baseline. If undefined, uses the line's ascent + descent.


width?

optional width?: number

Defined in: renderers/src/CanvasRenderer.ts:51

Cursor width in px. Default: 1.

Released under the MIT License.