23 Border(
const ot::Color& _color,
int _leftWidth,
int _topWidth,
int _rightWidth,
int _bottomWidth);
38 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
46 void setWidth(
int _width);
82 BorderF(
const ot::Color& _color,
double _leftWidth,
double _topWidth,
double _rightWidth,
double _bottomWidth);
97 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
105 void setWidth(
double _width);
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The BorderF class is used to describe a border with four sides. The BorderF uses floating point value...
Definition Border.h:78
BorderF()
Definition Border.h:80
const OutlineF & left(void) const
Definition Border.h:112
void setBottom(const OutlineF &_s)
Definition Border.h:117
void setTop(const OutlineF &_s)
Set the top border.
Definition Border.h:108
void setRight(const OutlineF &_s)
Definition Border.h:114
void setLeft(const OutlineF &_s)
Definition Border.h:111
const OutlineF & right(void) const
Definition Border.h:115
const OutlineF & bottom(void) const
Definition Border.h:118
const OutlineF & top(void) const
Definition Border.h:109
The Border class is used to describe a border with four sides. The Border uses integer values.
Definition Border.h:19
const Outline & right(void) const
Definition Border.h:56
void setTop(const Outline &_s)
Set the top border.
Definition Border.h:49
const Outline & top(void) const
Definition Border.h:50
void setRight(const Outline &_s)
Definition Border.h:55
const Outline & left(void) const
Definition Border.h:53
Border()
Definition Border.h:21
void setLeft(const Outline &_s)
Definition Border.h:52
const Outline & bottom(void) const
Definition Border.h:59
void setBottom(const Outline &_s)
Definition Border.h:58
The Color class is used to represent RGBA colors with integer values.
Definition Color.h:72
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
The Outline class is used to describe how a outline should look like.
Definition Outline.h:54
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30