![]() |
Bridges-Java
3.3.0
Bridges(Java API)
|
This class defines a group of Symbols and is part of the bridges::base::SymbolCollection.
One would use SymbolGroup to bundle together a set of Symbol that can be used and placed at one. For instance, one could create a group representing a house and then place that house in a scene.
Setting properties of groups may have surprising consequences. For instance setting the opacity of a SymbolGroup will apply a multiplicative opacity to all the objects in the group, but setting an fill color will only impact the Symbol in the SymbolGroup that do not have a defined fill color.
Public Member Functions | |
SymbolGroup () | |
void | addSymbol (Symbol s) |
String | getShapeType () |
void | addAllJSON (JSONArray symbol_json, Integer parent) |
![]() | |
Symbol () | |
Symbol | setLabel (String label) |
String | getLabel () |
Symbol | setFillColor (String c) |
Color | getFillColor () |
Symbol | setStrokeColor (Color c) |
Symbol | setStrokeColor (String c) |
Color | getStrokeColor () |
Symbol | setStrokeWidth (float strokewidth) |
This method sets the symbol stroke width. More... | |
Float | getStrokeWidth () |
Symbol | setOpacity (float op) |
This method sets the symbol opacity. More... | |
Float | getOpacity () |
Symbol | setStrokeDash (int dash) |
Integer | getStrokeDash () |
Symbol | setLayer (int layer) |
Integer | getLayer () |
float[][] | identity (float[][] m) |
Symbol | translate (float tx, float ty) |
Symbol | scale (float s) |
Symbol | scale (float sx, float sy) |
Symbol | rotate (float angle) |
Symbol | scale (float sx, float sy, float px, float py) |
Symbol | rotate (float angle, float px, float py) |
Symbol | setTransform (float a, float b, float c, float d, float e, float f) |
float[][] | getTransform () |
JSONObject | getJSONRepresentation () |
Additional Inherited Members | |
![]() | |
String | label = null |
Color | fillColor = null |
Float | opacity = null |
Color | strokeColor = null |
Float | strokeWidth = null |
Integer | strokeDash = null |
Integer | layer = null |
float[] | transform = null |
bridges.base.SymbolGroup.SymbolGroup | ( | ) |
Create a default symbol object
void bridges.base.SymbolGroup.addAllJSON | ( | JSONArray | symbol_json, |
Integer | parent | ||
) |
Reimplemented from bridges.base.Symbol.
void bridges.base.SymbolGroup.addSymbol | ( | Symbol | s | ) |
String bridges.base.SymbolGroup.getShapeType | ( | ) |