![]() |
Bridges-Java 3.5.0-dev1
Bridges(Java API)
|
This class defines a polyline and is used as part of a SymbolCollection. More...
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 |
![]() | |
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.