|
| | SymbolGroup () |
| |
| void | addSymbolPtr (std::shared_ptr< Symbol > s) |
| | This method adds a symbol to the collection.
|
| |
| template<typename T > |
| void | addSymbol (T s) |
| |
| std::vector< std::shared_ptr< Symbol > > | getAllSymbols () const |
| |
| virtual string | getShapeType () const override |
| | This method returns the JSON representation of the symbol group.
|
| |
| virtual const string | getSymbolRepresentation () const override |
| | Virtual method to get the JSON representation of the symbol.
|
| |
| | 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 by a vector.
|
| |
| 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) |
| |
the SymbolGroup represents a collection of symbols (shapes, polygons, and text) to visualize in Bridges
- Author
- Kalpathi Subramanian
- Date
- 3/31/21