Interface: StrokeProp
Defined in: attributes/shape/stroke/mapper.ts:28
Stroke prop and resolved types, resolver, and array lerp.
Properties
align?
optionalalign?:StrokeAlign
Defined in: attributes/shape/stroke/mapper.ts:42
Where the stroke sits relative to the edge: a number in [-1, 1] or one of
'inside' (-1), 'center' (0), 'outside' (1). Defaults to 'inside',
so the stroke stays within the shape's measured bounds (like a CSS border)
rather than leaking half its width outside.
dash?
optionaldash?:number|number[]
Defined in: attributes/shape/stroke/mapper.ts:34
Dash pattern. A single number n becomes [n, n].
dashOffset?
optionaldashOffset?:number
Defined in: attributes/shape/stroke/mapper.ts:35
fill?
optionalfill?:FillProp
Defined in: attributes/shape/stroke/mapper.ts:32
Any loose fill: a CSS color string, fill prop object, or resolved fill.
weight?
optionalweight?:number
Defined in: attributes/shape/stroke/mapper.ts:30
Stroke width in pixels. Defaults to 1.