Interface
FillStyle
How a fill is painted: a colour, a gradient, opacity and an optional gaussian blur for glows and soft shadows.
Extended by#
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
alpha? | number | Opacity from 0 to 1. Default 1. | SilkGraphics.ts:31 |
blur? | number | Gaussian blur radius (standard deviation, local units). Great for glows and soft shadows. | SilkGraphics.ts:35 |
color? | ColorSource | Colour, any Pixi ColorSource. With a gradient, it tints the gradient. | SilkGraphics.ts:29 |
gradient? | Gradient | Gradient paint. color (if given) tints it. | SilkGraphics.ts:33 |