AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
AeonGUI::LinearGradient Struct Reference

A linear gradient paint. More...

#include </d/a/AeonGUI/AeonGUI/include/aeongui/Color.hpp>

Collaboration diagram for AeonGUI::LinearGradient:
[legend]

Public Attributes

double x1 {0}
 Start X of the gradient vector.
double y1 {0}
 Start Y of the gradient vector.
double x2 {1}
 End X of the gradient vector.
double y2 {0}
 End Y of the gradient vector.
std::vector< GradientStopstops
 Color stops.
bool objectBoundingBox {true}
 True if coords are relative to the element bounding box.

Detailed Description

A linear gradient paint.


The documentation for this struct was generated from the following file:
  • /d/a/AeonGUI/AeonGUI/include/aeongui/Color.hpp