This class defines a rectangle and is part of the symbol collection. A rectangle has height and width.
More...
|
| | Rectangle () |
| | default constructor - rectangle with lower left at origin and unit length sides More...
|
| |
| | Rectangle (double w, double h) |
| | create rectangle with width w and height h More...
|
| |
| | Rectangle (double llx, double lly, double w, double h) |
| | create rectangle with width w and height h and located at given position More...
|
| |
| float | getWidth () |
| | This method gets the rectangle width. More...
|
| |
| void | setWidth (double w) |
| | This method sets the shape width. More...
|
| |
| float | getHeight () |
| | This method gets the rectangle height. More...
|
| |
| void | setHeight (double h) |
| | This method sets the shape height. More...
|
| |
| void | setRectangle (double llx, double lly, double w, double h) |
| |
| void | setLL (double llx, double lly) |
| |
| double | getLLX () const |
| |
| double | getLLY () const |
| |
| virtual 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 class defines a rectangle and is part of the symbol collection. A rectangle has height and width.
- Author
- Kalpathi Subramanian
- Date
- 12/23/18, 7/12/19