Skip to content

API Reference / @gtkx/cairo / DashPattern

Type Alias: DashPattern ​

DashPattern = object

Defined in: packages/cairo/src/types.ts:125

A dash pattern as a context reports it: alternating on and off lengths and the offset into them.

Properties ​

dashes ​

dashes: number[]

Defined in: packages/cairo/src/types.ts:127

Alternating on and off lengths in user space; empty for a solid line.


offset ​

offset: number

Defined in: packages/cairo/src/types.ts:129

Offset into the pattern at which the stroke starts.