Skip to content

API reference / Common / Engine types / LineStyle

Interface: LineStyle ​

Stroke line geometry — the brush-independent parameters that shape the outline of a stroked path.

Shared between the rendering interface (where it's the arg to a stroke call) and the editing-side StrokingStyle (which adds the brush and the PDF stroke-side compositing flags).

Properties ​

PropertyType
widthnumber
lineCapLineCap
lineJoinLineJoin
miterLimitnumber
dashArraynumber[] | null
dashOffsetnumber