Adds a glow backdrop to the filtered Object.
Constructor
new(color:Int = 0xFFFFFF, alpha:Float = 1., radius:Float = 1., gain:Float = 1., quality:Float = 1., smoothColor:Bool = false)
Create new Glow filter.
Parameters:
color | The color of the glow. |
---|---|
alpha | Transparency value of the glow. |
radius | The glow distance in pixels. |
gain | The glow color intensity. |
quality | The sample count on each pixel as a tradeoff of speed/quality. |
smoothColor | Produce gradient glow when enabled, otherwise creates hard glow without smoothing. |