Skip to content

API Reference / @gtkx/cairo / DashPattern

Type Alias: DashPattern

DashPattern = object

Defined in: types.d.ts:113

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

Properties

dashes

dashes: number[]

Defined in: types.d.ts:115

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


offset

offset: number

Defined in: types.d.ts:117

Offset into the pattern at which the stroke starts.

Released under the MPL-2.0 License.