MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::maplink::earth::geometry::Text Class Reference
Inheritance diagram for envitia::maplink::earth::geometry::Text:

Detailed Description

A Text primitive

A Text instance represents a string, which will be rendered based on the TextStyle attributes.

Public Member Functions

 Text ()
 Constructor.
 
 Text (const char *style)
 
 Text (const char *style, const GeodeticPoint &pos, const char *textValue)
 
 Text (const Text &other)
 Copy Constructor.
 
virtual ~Text ()
 Destructor.
 
virtual GeometryType type () const
 Query the type of the geometry instance.
 
virtual Geometryclone () const
 
void position (const GeodeticPoint &p)
 Set the position of the text.
 
const GeodeticPointposition () const
 Query the position of the text.
 
void value (const char *v)
 Set the value of the text.
 
const char * value () const
 Query the value of the text.
 

Additional Inherited Members

 The type of a geometry instance. More...

Constructor & Destructor Documentation

◆ Text() [1/4]

envitia::maplink::earth::geometry::Text::Text ( )

Constructor.

◆ Text() [2/4]

envitia::maplink::earth::geometry::Text::Text ( const char * style)

Constructor.

Parameters
styleThe name of the style to use when rendering.

◆ Text() [3/4]

envitia::maplink::earth::geometry::Text::Text ( const char * style,
const GeodeticPoint & pos,
const char * textValue )

Constructor.

Parameters
styleThe name of the style to use when rendering.
posThe position of the text.
textValueThe text string to display.

◆ Text() [4/4]

envitia::maplink::earth::geometry::Text::Text ( const Text & other)

Copy Constructor.

◆ ~Text()

virtual envitia::maplink::earth::geometry::Text::~Text ( )
virtual

Destructor.

Member Function Documentation

◆ clone()

virtual Geometry * envitia::maplink::earth::geometry::Text::clone ( ) const
virtual

Create a clone of this geometry

If the geometry is a set this will perform a deep copy (All children of the set will be cloned).

Implements envitia::maplink::earth::geometry::Geometry.

◆ position() [1/2]

const GeodeticPoint & envitia::maplink::earth::geometry::Text::position ( ) const

Query the position of the text.

◆ position() [2/2]

void envitia::maplink::earth::geometry::Text::position ( const GeodeticPoint & p)

Set the position of the text.

◆ type()

virtual GeometryType envitia::maplink::earth::geometry::Text::type ( ) const
virtual

Query the type of the geometry instance.

Implements envitia::maplink::earth::geometry::Geometry.

◆ value() [1/2]

const char * envitia::maplink::earth::geometry::Text::value ( ) const

Query the value of the text.

◆ value() [2/2]

void envitia::maplink::earth::geometry::Text::value ( const char * v)

Set the value of the text.