An encapsulation of an fill::gradientFill::stop item.
More...
#include <XLStyles_Fills.hpp>
An encapsulation of an fill::gradientFill::stop item.
◆ XLGradientStop() [1/4]
| XLGradientStop::XLGradientStop |
( |
| ) |
|
◆ XLGradientStop() [2/4]
| XLGradientStop::XLGradientStop |
( |
const XMLNode & | node | ) |
|
|
explicit |
Constructor. New items should only be created through an XLGradientStops object.
- Parameters
-
| node | An XMLNode object with the gradient stop XMLNode. If no input is provided, a null node is used. |
◆ XLGradientStop() [3/4]
| XLGradientStop::XLGradientStop |
( |
const XLGradientStop & | other | ) |
|
Copy Constructor.
- Parameters
-
| other | Object to be copied. |
◆ XLGradientStop() [4/4]
| OpenXLSX::XLGradientStop::XLGradientStop |
( |
XLGradientStop && | other | ) |
|
|
defaultnoexcept |
Move Constructor.
- Parameters
-
◆ ~XLGradientStop()
| OpenXLSX::XLGradientStop::~XLGradientStop |
( |
| ) |
|
|
default |
◆ color()
Getter functions.
- Returns
- The requested gradient stop property
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
| other | Right hand side of assignment operation. |
- Returns
- A reference to the lhs object.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
| other | Right hand side of assignment operation. |
- Returns
- A reference to lhs object.
◆ position()
| double XLGradientStop::position |
( |
| ) |
const |
◆ setPosition()
| bool XLGradientStop::setPosition |
( |
double | newPosition | ) |
|
Setter functions.
- Parameters
-
- Returns
- true for success, false for failure
- Note
- for color setters, use the color() getter with the XLDataBarColor setter functions
◆ summary()
| std::string XLGradientStop::summary |
( |
| ) |
const |
Return a string summary of the stop properties.
- Returns
- string with info about the stop object
◆ XLGradientStops
| friend class XLGradientStops |
|
friend |
The documentation for this class was generated from the following files: