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.
|
|
string | getText () const |
| Get the symbol label.
|
|
Text & | setAnchorLocation (float *loc) |
| This method sets the label origin;.
|
|
Text & | setAnchorLocation (float locx, float locy) |
| This method sets the label origin;.
|
|
Text & | setAnchorAlignment (string typeLR, string typeTB) |
|
double | getAnchorLocationX () |
| This method gets the label anchor location.
|
|
double | getAnchorLocationY () |
| This method gets the label anchor location.
|
|
Symbol & | setAnchorType (string type) |
| This method sets the label's anchor type.
|
|
string | getAnchorType () |
| This method gets the label's anchor type.
|
|
Symbol & | setFontSize (double sz) |
| This method sets the font size.
|
|
double | getFontSize () |
| This method gets the font size.
|
|
const string | getSymbolRepresentation () const override |
| This method returns the JSON representation of the shape.
|
|
| Symbol () |
| default constructor
|
|
| Symbol (const Symbol &s) |
|
Symbol & | operator= (const Symbol &s) |
|
| ~Symbol () |
|
int | getIdentifier () const |
| return the symbol identifier.
|
|
Symbol & | setFillColor (Color c) |
| Set the symbol fill color.
|
|
Symbol & | setFillColor (string c) |
| This method sets the symbol fill color.
|
|
Color | getFillColor () const |
| This method gets fill color.
|
|
Symbol & | setStrokeColor (Color c) |
|
Symbol & | setStrokeColor (string c) |
| This method sets the symbol stroke color.
|
|
Color | getStrokeColor () |
| This method gets stroke color.
|
|
Symbol & | setStrokeWidth (float strk_width) |
| This method sets the symbol stroke width.
|
|
float | getStrokeWidth () const |
| This method gets stroke width.
|
|
Symbol & | setOpacity (float op) |
| This method sets the symbol opacity.
|
|
float | getOpacity () const |
| This method gets symbol opacity.
|
|
Symbol & | setStrokeDash (int dash) |
| This method sets the stroke dash level.
|
|
int | getStrokeDash () const |
| This method gets stroke dash level.
|
|
Symbol & | setLayer (int l) |
|
int | getLayer () const |
|
Symbol & | translate (float tx, float ty) |
| Translate a 2D point.
|
|
Symbol & | scale (float sx, float sy) |
| Scale a Symbol.
|
|
Symbol & | scale (float scalefactor) |
| Scale a Symbol.
|
|
Symbol & | rotate (float angle) |
| Rotate a 2D point (about Z)
|
|
Symbol & | scale (float sx, float sy, float px, float py) |
| Scale about an arbitrary point (px, py)
|
|
Symbol & | rotate (float angle, float px, float py) |
| Rotate a 2D point about an arbitrary point (px, py)
|
|
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