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