AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ALinearGradientBrush Struct Reference

#include <AUI/Render/ABrush.h>

Classes#

struct  ColorEntry
 

Signals and public fields#

AVector< ColorEntrycolors
 
AAngleRadians rotation = 180_deg
 Clockwise gradient angle.
 

Detailed Description#

Brush which produces linear gradient by rectangle.

Member Data Documentation#

◆ rotation#

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.