#include "Margins.h"
◆ MarginsD() [1/3]
ot::MarginsD::MarginsD |
( |
| ) |
|
|
inline |
◆ MarginsD() [2/3]
ot::MarginsD::MarginsD |
( |
double | _left, |
|
|
double | _top, |
|
|
double | _right, |
|
|
double | _bottom ) |
|
inline |
◆ MarginsD() [3/3]
ot::MarginsD::MarginsD |
( |
const MarginsD & | _other | ) |
|
|
inline |
◆ ~MarginsD()
virtual ot::MarginsD::~MarginsD |
( |
| ) |
|
|
inlinevirtual |
◆ 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 |
◆ bottom()
double ot::MarginsD::bottom |
( |
void | | ) |
const |
|
inline |
◆ left()
double ot::MarginsD::left |
( |
void | | ) |
const |
|
inline |
◆ operator=()
◆ right()
double ot::MarginsD::right |
( |
void | | ) |
const |
|
inline |
◆ setBottom()
void ot::MarginsD::setBottom |
( |
double | _margin | ) |
|
|
inline |
◆ setFromJsonObject()
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) |
Implements ot::Serializable.
◆ setLeft()
void ot::MarginsD::setLeft |
( |
double | _margin | ) |
|
|
inline |
◆ setRight()
void ot::MarginsD::setRight |
( |
double | _margin | ) |
|
|
inline |
◆ setTop()
void ot::MarginsD::setTop |
( |
double | _margin | ) |
|
|
inline |
◆ top()
double ot::MarginsD::top |
( |
void | | ) |
const |
|
inline |
The documentation for this class was generated from the following files: