Skip to content

pencil.js / component / Style

Type Alias: Style ​

ts
type Style = StyleLike | ColorArray | string | null;

Defined in: component.ts:54

Fill or stroke style: color string, Color, gradient, pattern, [red, green, blue, alpha] array (from 0 to 1) or null for none

Released under the MIT License.