|
Gin
|
One layer of a CSS-style box shadow: an offset, a blur radius, a spread and a colour (its alpha the shadow's opacity). More...
#include <gin_shadows.h>
Public Member Functions | |
| bool | operator== (const ShadowSpec &other) const |
| bool | operator!= (const ShadowSpec &other) const |
Public Attributes | |
| juce::Point< float > | offset |
| float | blur = 0.0f |
| float | spread = 0.0f |
| juce::Colour | colour { juce::Colours::black } |
One layer of a CSS-style box shadow: an offset, a blur radius, a spread and a colour (its alpha the shadow's opacity).
How the blur looks is the renderer's (see BoxShadow).
| bool ShadowSpec::operator== | ( | const ShadowSpec & | other | ) | const |
References blur, colour, offset, and spread.
Referenced by operator!=().
| bool ShadowSpec::operator!= | ( | const ShadowSpec & | other | ) | const |
References operator==().
| juce::Point<float> ShadowSpec::offset |
Referenced by operator==().
| float ShadowSpec::blur = 0.0f |
Referenced by operator==().
| float ShadowSpec::spread = 0.0f |
Referenced by operator==().
| juce::Colour ShadowSpec::colour { juce::Colours::black } |
Referenced by operator==().