This is a label object and used for defining text labels as part of the symbol collection.  
 More...
 | 
|   | Text () | 
|   | 
|   | Text (const Text &t) | 
|   | 
| Text &  | operator= (const Text &t) | 
|   | 
|   | Text (string l) | 
|   | 
|   | ~Text () | 
|   | 
| virtual string  | getShapeType () const override | 
|   | 
| Text &  | setText (string lbl) | 
|   | Set the label text.  More...
  | 
|   | 
| string  | getText () const | 
|   | Get the symbol label.  More...
  | 
|   | 
| Text &  | setAnchorLocation (float *loc) | 
|   | This method sets the label origin;.  More...
  | 
|   | 
| Text &  | setAnchorLocation (float locx, float locy) | 
|   | This method sets the label origin;.  More...
  | 
|   | 
| Text &  | setAnchorAlignment (string typeLR, string typeTB) | 
|   | 
| double  | getAnchorLocationX () | 
|   | This method gets the label anchor location.  More...
  | 
|   | 
| double  | getAnchorLocationY () | 
|   | This method gets the label anchor location.  More...
  | 
|   | 
| Symbol &  | setAnchorType (string type) | 
|   | This method sets the label's anchor type.  More...
  | 
|   | 
| string  | getAnchorType () | 
|   | This method gets the label's anchor type.  More...
  | 
|   | 
| Symbol &  | setFontSize (double sz) | 
|   | This method sets the font size.  More...
  | 
|   | 
| double  | getFontSize () | 
|   | This method gets the font size.  More...
  | 
|   | 
| const string  | getSymbolRepresentation () const override | 
|   | This method returns the JSON representation of the shape.  More...
  | 
|   | 
|   | Symbol () | 
|   | default constructor  More...
  | 
|   | 
|   | Symbol (const Symbol &s) | 
|   | 
| Symbol &  | operator= (const Symbol &s) | 
|   | 
|   | ~Symbol () | 
|   | 
| virtual const string  | getSymbolRepresentation () const =0 | 
|   | Virtual method to get the JSON representation of the symbol.  More...
  | 
|   | 
| int  | getIdentifier () const | 
|   | return the symbol identifier.  More...
  | 
|   | 
| Symbol &  | setFillColor (Color c) | 
|   | Set the symbol fill color.  More...
  | 
|   | 
| Symbol &  | setFillColor (string c) | 
|   | This method sets the symbol fill color.  More...
  | 
|   | 
| Color  | getFillColor () const | 
|   | This method gets fill color.  More...
  | 
|   | 
| Symbol &  | setStrokeColor (Color c) | 
|   | 
| Symbol &  | setStrokeColor (string c) | 
|   | This method sets the symbol stroke color.  More...
  | 
|   | 
| Color  | getStrokeColor () | 
|   | This method gets stroke color.  More...
  | 
|   | 
| Symbol &  | setStrokeWidth (float strk_width) | 
|   | This method sets the symbol stroke width.  More...
  | 
|   | 
| float  | getStrokeWidth () const | 
|   | This method gets stroke width.  More...
  | 
|   | 
| Symbol &  | setOpacity (float op) | 
|   | This method sets the symbol opacity.  More...
  | 
|   | 
| float  | getOpacity () const | 
|   | This method gets symbol opacity.  More...
  | 
|   | 
| Symbol &  | setStrokeDash (int dash) | 
|   | This method sets the stroke dash level.  More...
  | 
|   | 
| int  | getStrokeDash () const | 
|   | This method gets stroke dash level.  More...
  | 
|   | 
| Symbol &  | setLayer (int l) | 
|   | 
| int  | getLayer () const | 
|   | 
| Symbol &  | translate (float tx, float ty) | 
|   | Translate by a vector.  More...
  | 
|   | 
| Symbol &  | scale (float sx, float sy) | 
|   | Scale a Symbol.  More...
  | 
|   | 
| Symbol &  | scale (float scalefactor) | 
|   | Scale a Symbol.  More...
  | 
|   | 
| Symbol &  | rotate (float angle) | 
|   | Rotate a 2D point (about Z)  More...
  | 
|   | 
| Symbol &  | scale (float sx, float sy, float px, float py) | 
|   | Scale about an arbitrary point (px, py)  More...
  | 
|   | 
| Symbol &  | rotate (float angle, float px, float py) | 
|   | Rotate a 2D point about an arbitrary point (px, py)  More...
  | 
|   | 
| Symbol &  | setTransform (float a, float b, float c, float d, float e, float f) | 
|   | 
This is a label object and used for defining text labels as part of the symbol collection. 
- Author
 - Kalpathi Subramanian 
 
- Date
 - 12/23/18, 12/28/20