Skip to content
GitHub repository
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#

PropertyTypeDescriptionDefined in
alpha?numberOpacity from 0 to 1. Default 1.SilkGraphics.ts:31
blur?numberGaussian blur radius (standard deviation, local units). Great for glows and soft shadows.SilkGraphics.ts:35
color?ColorSourceColour, any Pixi ColorSource. With a gradient, it tints the gradient.SilkGraphics.ts:29
gradient?GradientGradient paint. color (if given) tints it.SilkGraphics.ts:33