Interface of all properties of GlowEffect.

Hierarchy

  • GlowEffectProperties

Properties

Properties

blur: number

Blur distance as pixels.

Max value 10.

color: Color

Glow color.

Assign using ColorRGBA or any other color factory. Glow intensity can be controlled with color alpha channel.

 // Example, red glow color.
color: ColorRGBA(255, 0, 0, 255)
offset: Point

Offset as pixels.

spread: number

Spread distance as pixels.

Max value 10.

type: "glow"