Back to API Reference
Class

StrokeModifier

sealed

Draws a real outline (a rim band around the glyph edge, not a filled blob) with a colour, gradient, or texture. Works with the fill off (stroke-only).

Remarks

Parameter: paint[,width][,align][,softness] + projection overrides.
public PaintRef Paint{ get; set }

Stroke paint (inline colour, named swatch, or default). A per-range value overrides it.

public UnitValue Width{ get; set }

Stroke width. A per-range value overrides it.

public float Align{ get; set }

Rim alignment relative to the glyph edge: −1 inside … +1 outside. A per-range value overrides it.

public UnitValue Softness{ get; set }

Edge softness. A per-range value overrides it.

protected PaintRef PaintField{ get }
protected float CoverageModeValue{ get }
protected Color32 DefaultPaintColor{ get }
public bool RendersBehindFill{ get }

Outside strokes (align > 0) render behind the fill; centered/inside strokes stay in front so the opaque fill doesn't cover them.

protected override void ParseExtra()