This class defines a polyline and is part of the symbol collection. A polyline has a set of vertices with the vertices connect by line segments.
- Author
- David Burlinson, Kalpathi Subramanian
- Date
- 12/23/18, 7/12/19, 12/28/20
|
| Polyline () |
| default constructor More...
|
|
| Polyline (vector< float > pts) |
| Construct a polyline from sequence of points. More...
|
|
void | addPoint (float x, float y) |
| This method adds a point to the polyline. More...
|
|
vector< float > | getPoints () |
| This method returns the point list of the polyline. More...
|
|
void | setPolyline (vector< float > pts) |
| Construct a polyline from sequence of points. More...
|
|
void | getCenter (float *center) |
| Get center of polyline - use its bounding box. 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 () |
|
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 a 2D point. 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) |
|