29 #include "../geometry/Geometry.h"
42 m_location = location;
43 m_leaderLine = leaderLine;
77 m_location = location;
88 m_leaderLine = leaderLine;
99 m_attribute = attribute;
Element * clone() const
It clones the Element.
Element()
Text Element constructor.
te::gm::Geometry * m_location
location
An Text Element consists of a string, location, leader line and may have attribute.
void setValue(const std::string &value)
it sets the text string.
void setLeaderLine(te::gm::Geometry *leaderLine)
it sets the text leader line.
std::string m_value
text value
Attributes * m_attribute
attributes
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
void setAttributes(Attributes *attribute)
it sets the text attributes.
const std::string & getValue() const
it returns the text string.
void setLocation(te::gm::Geometry *location)
it sets the text location.
const Attributes * getAttributes() const
it returns the text attributes.
const te::gm::Geometry * getLeaderLine() const
it returns the text leader line.
te::gm::Geometry * m_leaderLine
leader line
const te::gm::Geometry * getLocation() const
it returns the text location.
~Element()
Text Element destructor.