Apply the Gradation Glow effect.

GradientGlowFilter

The GradientGlowFilter class can be used to apply a gradient glow effect to displayed objects. A gradient glow is a realistic glow with a controllable color gradient. Gradient glow can be applied around the inner or outer edges of an object, or on top of an object.

  • distance

    Specifies the offset distance of the shadow in pixels

  • angle

    Shadow angle

  • colors

    Array of color values to use in gradients

  • alphas

    The alpha transparency value corresponding to each color in the color array

  • ratios

    Array of color distribution ratios for the corresponding colors in the color array

  • blurX

    The amount of horizontal blur

  • blurY

    The amount of vertical blur

  • strength

    Filter effect

  • quality

    Specifies whether the object has a knockout effect

  • type

  • knockout

Example

DropShadowFilter