AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
ALinearGradientBrush Struct Reference

Detailed Description

Brush which produces linear gradient by rectangle.

Classes

struct  ColorEntry
 

Signals and public fields

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

Member Data Documentation

◆ rotation

AAngleRadians ALinearGradientBrush::rotation = 180_deg

Clockwise gradient angle.

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.

#include <AUI/Render/ABrush.h>


The documentation for this struct was generated from the following file:
Collaboration diagram for ALinearGradientBrush: