Interface Brush

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.

interface Brush {
    color?: RgbaColor;
}

Properties

Properties

color?: RgbaColor

Defines a solid color brush from rgba.

If no color is set it defaults to transparent.