|
OpenXLSX 1.9.1
|
An encapsulation of an fill::gradientFill::stop item. More...
#include <XLStyles.hpp>
Public Member Functions | |
| XLGradientStop () | |
| XLGradientStop (const XMLNode &node) | |
| Constructor. New items should only be created through an XLGradientStops object. | |
| XLGradientStop (const XLGradientStop &other) | |
| Copy Constructor. | |
| XLGradientStop (XLGradientStop &&other) noexcept=default | |
| Move Constructor. | |
| ~XLGradientStop ()=default | |
| XLGradientStop & | operator= (const XLGradientStop &other) |
| Copy assignment operator. | |
| XLGradientStop & | operator= (XLGradientStop &&other) noexcept=default |
| Move assignment operator. | |
| XLDataBarColor | color () const |
| Getter functions. | |
| double | position () const |
| bool | setPosition (double newPosition) |
| Setter functions. | |
| std::string | summary () const |
| Return a string summary of the stop properties. | |
Friends | |
| class | XLGradientStops |
An encapsulation of an fill::gradientFill::stop item.
| XLGradientStop::XLGradientStop | ( | ) |
|
explicit |
Constructor. New items should only be created through an XLGradientStops object.
| node | An XMLNode object with the gradient stop XMLNode. If no input is provided, a null node is used. |
| XLGradientStop::XLGradientStop | ( | const XLGradientStop & | other | ) |
Copy Constructor.
| other | Object to be copied. |
|
defaultnoexcept |
Move Constructor.
| other | Object to be moved. |
|
default |
| XLDataBarColor XLGradientStop::color | ( | ) | const |
Getter functions.
| XLGradientStop & XLGradientStop::operator= | ( | const XLGradientStop & | other | ) |
Copy assignment operator.
| other | Right hand side of assignment operation. |
|
defaultnoexcept |
Move assignment operator.
| other | Right hand side of assignment operation. |
| double XLGradientStop::position | ( | ) | const |
| bool XLGradientStop::setPosition | ( | double | newPosition | ) |
Setter functions.
| value | that shall be set |
| std::string XLGradientStop::summary | ( | ) | const |
Return a string summary of the stop properties.
|
friend |