Stroke

Applies a stroke style to the vector content, giving an appearance to the area within the outline of the geometry.

Interface

Inputs

ParameterDetailsPossible Types
Content

The content with vector paths to apply the stroke style to.

Primary Input

Table<Graphic>
Table<Vector>
Color

The stroke color.

Default: 

Table<Color>
Weight

The stroke thickness.

Default: 2 px

f64
Align

The alignment of stroke to the path's centerline or (for closed shapes) the inside or outside of the shape.

Default: Center

StrokeAlign
Cap

The shape of the stroke at open endpoints.

Default: Butt

StrokeCap
Join

The curvature of the bent stroke at sharp corners.

Default: Miter

StrokeJoin
Miter Limit

The threshold for when a miter-joined stroke is converted to a bevel-joined stroke when a sharp angle becomes pointier than this ratio.

Default: 4

f64
Paint Order

The order to paint the stroke on top of the fill, or the fill on top of the stroke.

Default: StrokeAbove

PaintOrder
Dash Lengths

The stroke dash lengths. Each length forms a distance in a pattern where the first length is a dash, the second is a gap, and so on. If the list is an odd length, the pattern repeats with solid-gap roles reversed.

Default: []

Vec<f64>
f64
string
Dash Offset

The phase offset distance from the starting point of the dash pattern.

Default: 0 px

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Table<Vector>
Table<Graphic>