![]() |
Bridges-Java 3.5.1
Bridges(Java API)
|
This class defines a polyline and is used as part of a SymbolCollection. More...
Additional Inherited Members | |
Protected Attributes inherited from bridges.base.Symbol | |
| String | label = null |
| Color | fillColor = null |
| Float | opacity = null |
| Color | strokeColor = null |
| Float | strokeWidth = null |
| Integer | strokeDash = null |
| Integer | layer = null |
| float[] | transform = null |
Package Attributes inherited from bridges.base.Symbol | |
| Boolean | xform_flag = false |
This class defines a polyline and is used as part of a SymbolCollection.
A polyline has a sequence of points (x, y coordinate pairs)
Basic styling such as stroke and fill are defined in the superclass Symbol.
Note that since a Polyline is typically an open shape one usually want a fill that is transparent.
| bridges.base.Polyline.Polyline | ( | ) |
Construct a default polyline structure
Construct a polyline with the give set of points
| pts | the given set of input 2D points |
This method adds a point to the polyline
| x,y | Coordinates of the point |
| JSONObject bridges.base.Polyline.getJSONRepresentation | ( | ) |
This method returns the JSON representation of the shape
Reimplemented from bridges.base.Symbol.
This method returns the point list of the polyline
| String bridges.base.Polyline.getShapeType | ( | ) |
This method gets the name of the shape
Reimplemented from bridges.base.Symbol.
Reimplemented in bridges.base.Polygon.