|
AUI Framework
master
Cross-platform base for C++ UI apps
|
#include <AUI/Render/ABrush.h>
Classes# | |
| struct | ColorEntry |
Signals and public fields# | |
| AVector< ColorEntry > | colors |
| AAngleRadians | rotation = 180_deg |
| Clockwise gradient angle. | |
Brush which produces linear gradient by rectangle.
| AAngleRadians ALinearGradientBrush::rotation = 180_deg |
When using an angle, 0_deg creates a vertical gradient running bottom to top, 90_deg creates a horizontal gradient running left to right, and so on in a clockwise direction. Negative angles run in the counterclockwise direction.