Skip to content

API reference / Common / Engine types / StrokingStyle

Interface: StrokingStyle ​

Stroking paint state — the brush plus line geometry used to outline a path, and the per-stroke compositing knobs that vary between the stroke and non-stroke side of a paint op (PDF CA and OP).

Call-uniform compositing (blend mode, AIS, OPM, RI) lives in RenderStyle passed alongside this on the paint call; the soft mask is its own field on each variant. The line geometry is shared with the rendering vocabulary as LineStyle.

[Default] returns PDF's initial gs stroking state: solid black in DeviceGray, alpha = 1.0, overprint = false, default line geometry (spec 8.4.3.1).

Properties ​

PropertyDescription
brush
Brush
-
alpha
number
Stroke alpha (PDF CA).
overprint
boolean
Stroke overprint flag (PDF OP).
line
LineStyle
-