Skip to main content

complexStrokeProperties

The complex stroke properties for nodes using brush or dynamic strokes.

Signature

complexStrokeProperties: ComplexStrokeProperties

Remarks

We do not yet support setting custom brushes via the plugin API, but the API will return the brush properties for nodes that use custom brushes.

Setting a dynamic stroke on a stroke with variable width points will remove the variable width points.

When setting a brush on a stroke, you must first ensure that the desired brushes are loaded with figma.loadBrushesAsync.