|
JUCE
|
A component effect that adds a coloured blur around the component's contents. More...
Inheritance diagram for GlowEffect:Public Member Functions | |
| GlowEffect () | |
| Creates a default 'glow' effect. More... | |
| ~GlowEffect () | |
| Destructor. More... | |
| void | setGlowProperties (float newRadius, Colour newColour) |
| Sets the glow's radius and colour. More... | |
| void | applyEffect (Image &sourceImage, Graphics &destContext, float scaleFactor, float alpha) |
Public Member Functions inherited from ImageEffectFilter | |
| virtual | ~ImageEffectFilter () |
| Destructor. More... | |
A component effect that adds a coloured blur around the component's contents.
(This will only work on non-opaque components).
| GlowEffect::GlowEffect | ( | ) |
Creates a default 'glow' effect.
To customise its appearance, use the setGlowProperties() method.
| GlowEffect::~GlowEffect | ( | ) |
Destructor.
| void GlowEffect::setGlowProperties | ( | float | newRadius, |
| Colour | newColour | ||
| ) |
Sets the glow's radius and colour.
The radius is how large the blur should be, and the colour is used to render it (for a less intense glow, lower the colour's opacity).
|
virtual |
Implements ImageEffectFilter.