13#define OT_FactoryKey_GraphicsEllipseItem "OT_GIElli"
35 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
40 void setRadiusX(
double _radius) { m_radiusX = _radius; };
42 void setRadiusY(
double _radius) { m_radiusY = _radius; };
#define OT_FactoryKey_GraphicsEllipseItem
Definition GraphicsEllipseItemCfg.h:13
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition GraphicsEllipseItemCfg.h:19
virtual std::string getFactoryKey(void) const override
Returns the key that is used to create an instance of this class in the simple factory.
Definition GraphicsEllipseItemCfg.h:38
void setRadiusX(double _radius)
Definition GraphicsEllipseItemCfg.h:40
double getRadiusX(void) const
Definition GraphicsEllipseItemCfg.h:41
void setOutline(const ot::OutlineF &_outline)
Definition GraphicsEllipseItemCfg.h:45
double getRadiusY(void) const
Definition GraphicsEllipseItemCfg.h:43
const ot::Painter2D * getBackgroundPainter(void) const
Definition GraphicsEllipseItemCfg.h:49
void setRadiusY(double _radius)
Definition GraphicsEllipseItemCfg.h:42
const ot::OutlineF & getOutline(void) const
Definition GraphicsEllipseItemCfg.h:46
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
The OutlineF class is used to describe how a outline should look like.
Definition Outline.h:161
Definition Painter2D.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