Skip to main content

Interface: StrokeStyle

Stroke styling for vector paths.

Properties

PropertyTypeDescription
color?ColorInputColor used for drawing, text, or highlighting.
dashArray?number[]Dash array.
dashPhase?numberDash phase.
lineCap?LineCapLine cap.
lineJoin?LineJoinLine join.
miterLimit?numberMiter limit.
width?numberWidth in PDF points.