Skip to content

ALinearGradientBrush#

Header:#include <AUI/Render/ABrush.h>
CMake:aui_link(my_target PUBLIC aui::views)

Public Types#

ColorEntry#


struct ALinearGradientBrush::ColorEntry

Empty structure.

Public fields and Signals#


rotation#

AAngleRadians rotation

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.