60 : top_left(top_left), top_right(top_right), bottom_left(bottom_left),
61 bottom_right(bottom_right)
102 return !(*
this == other);
Gradient()
Constructs a color gradient.
Definition: gradient.h:48
Floating point color description class (for float).
Definition: color.h:660
Colorgradient description class.
Definition: gradient.h:41
Gradient(const Colorf &first_color, const Colorf &second_color)
Constructs a Gradient.
Definition: gradient.h:69
Colorf bottom_right
Color of bottom right corner of gradient.
Definition: gradient.h:90
Gradient(const Colorf &top_left, const Colorf &top_right, const Colorf &bottom_left, const Colorf &bottom_right)
Constructs a color gradient.
Definition: gradient.h:58
bool operator==(const Gradient &other) const
Compares gradient to another one.
Definition: gradient.h:93
Colorf bottom_left
Color of bottom left corner of gradient.
Definition: gradient.h:87
Colorf top_left
Color of top left corner of gradient.
Definition: gradient.h:81
bool operator!=(const Gradient &other) const
Compares gradient to another one.
Definition: gradient.h:100
Colorf top_right
Color of top right corner of gradient.
Definition: gradient.h:84