Skip to content

Brush

Defined in: api/node/rust-module.d.cts:296

A brush is a data structure that is used to describe how a shape, such as a rectangle, path or even text, shall be filled. A brush can also be applied to the outline of a shape, that means the fill of the outline itself.

optional color?: RgbaColor

Defined in: api/node/rust-module.d.cts:302

Defines a solid color brush from rgba.

If no color is set it defaults to transparent.


© 2026 SixtyFPS GmbH