#include "FillPainter2D.h"
◆ FillPainter2D() [1/3]
ot::FillPainter2D::FillPainter2D |
( |
| ) |
|
◆ FillPainter2D() [2/3]
◆ FillPainter2D() [3/3]
ot::FillPainter2D::FillPainter2D |
( |
const ot::Color & | _color | ) |
|
◆ ~FillPainter2D()
ot::FillPainter2D::~FillPainter2D |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_document | The JSON document (used to get the allocator) |
_object | The JSON object to add the contents to |
Reimplemented from ot::Painter2D.
◆ generateQss()
std::string ot::FillPainter2D::generateQss |
( |
void | | ) |
const |
|
overridevirtual |
◆ getColor()
const ot::Color & ot::FillPainter2D::getColor |
( |
void | | ) |
const |
|
inline |
◆ getDefaultColor()
ot::Color ot::FillPainter2D::getDefaultColor |
( |
void | | ) |
const |
|
overridevirtual |
◆ getFactoryKey()
virtual std::string ot::FillPainter2D::getFactoryKey |
( |
void | | ) |
const |
|
inlineoverridevirtual |
Returns the key that is used to create an instance of this class in the simple factory.
Implements ot::Painter2D.
◆ isEqualTo()
bool ot::FillPainter2D::isEqualTo |
( |
const Painter2D * | _other | ) |
const |
|
overridevirtual |
Returns true if this painter is equal to the other painter.
Implements ot::Painter2D.
◆ setColor()
void ot::FillPainter2D::setColor |
( |
const ot::Color & | _color | ) |
|
|
inline |
◆ setFromJsonObject()
void ot::FillPainter2D::setFromJsonObject |
( |
const ConstJsonObject & | _object | ) |
|
|
overridevirtual |
Will set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information |
- Exceptions
-
Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Reimplemented from ot::Painter2D.
The documentation for this class was generated from the following files: