|
CeresEngine 0.2.0
A game development framework
|
A structure that describes a box gradient. More...
#include <CeresEngine/Graphics/Shape.hpp>
Public Attributes | |
| Color | startingColor |
| The gradient starting color. | |
| Color | endingColor |
| The gradient ending color. | |
| Rect2 | box |
| Defines the box in which the gradient should be drawn. | |
| double | radius |
| Defines the corner radius. | |
| double | feather |
| Feather defines how blurry the border of the rectangle is. | |
A structure that describes a box gradient.
Box gradient is a feathered rounded rectangle, it is useful for rendering drop shadows or highlights for boxes.
| Rect2 CeresEngine::Paint::BoxGradient::box |
Defines the box in which the gradient should be drawn.
| Color CeresEngine::Paint::BoxGradient::endingColor |
The gradient ending color.
| double CeresEngine::Paint::BoxGradient::feather |
Feather defines how blurry the border of the rectangle is.
| double CeresEngine::Paint::BoxGradient::radius |
Defines the corner radius.
| Color CeresEngine::Paint::BoxGradient::startingColor |
The gradient starting color.