![]() |
Bridges-Java-2.4
2.4.2
Bridges(JavaAPI)
|
This is a superclass in BRIDGES for deriving a number of Shape objects for use in a ShapeCollection. Shapes correspond to a simplified subset of SVG paths and shapes for custom visual representations in BRIDGES. More...
Public Member Functions | |
| Label () | |
| Label (String label) | |
| Label | setFontSize (Integer size) |
| Float [] | getDimensions () |
| JSONObject | getJSONRepresentation () |
Public Member Functions inherited from bridges.base.Symbol | |
| String | getDataStructType () |
| Symbol () | |
| void | setLabel (String label) |
| String | getLabel () |
| String | getIdentifier () |
| Symbol | setFillColor (Color c) |
| Color | getFillColor () |
| Symbol | setStrokeColor (Color c) |
| Color | getStrokeColor () |
| Symbol | setStrokeWidth (Float strokewidth) |
| Float | getStrokeWidth () |
| Symbol | setOpacity (Float o) |
| Float | getOpacity () |
| Symbol | setStrokeDash (int dash) |
| Integer | getStrokeDash () |
| Symbol | setLocation (int x, int y) |
| Symbol | setLocation (Float x, Float y) |
| Float [] | getLocation () |
Additional Inherited Members | |
Protected Attributes inherited from bridges.base.Symbol | |
| String | label = "" |
| Color | fillColor = new Color("blue") |
| Float | opacity = DEFAULT_OPACITY |
| Color | strokeColor = new Color("white") |
| Float | strokeWidth = DEFAULT_STROKEWIDTH |
| Integer | strokeDash = DEFAULT_STROKEDASH |
| Float | locationX = DEFAULT_LOCATIONX |
| Float | locationY = DEFAULT_LOCATIONY |
Protected Attributes inherited from bridges.base.DataStruct | |
| String | QUOTE = "\"" |
This is a superclass in BRIDGES for deriving a number of Shape objects for use in a ShapeCollection. Shapes correspond to a simplified subset of SVG paths and shapes for custom visual representations in BRIDGES.
| bridges.base.Label.Label | ( | ) |
| bridges.base.Label.Label | ( | String | label | ) |
| Float [] bridges.base.Label.getDimensions | ( | ) |
Reimplemented from bridges.base.Symbol.
| JSONObject bridges.base.Label.getJSONRepresentation | ( | ) |
Internal code for getting the properties of the Shape object. It produces (without the spaces or newlines): { "name": "Some label", "other CSS properties like color": any_JSON_value }
Reimplemented from bridges.base.Symbol.
| Label bridges.base.Label.setFontSize | ( | Integer | size | ) |
1.8.16