Polyline
- class Communicator.Markup.Shape.Polyline()
This class reprsents a line defined by a list of points.
Methods
Methods
clearPoints
- Polyline.clearPoints()
Removes all points from this polyline
- Return type
void
getEndEndcapColor
getEndEndcapSize
getEndEndcapType
- Polyline.getEndEndcapType()
Gets the end endcap type for this shape. The default value is none.
- Return type
- Returns
the end endcap type
getEndcapsInverted
- Polyline.getEndcapsInverted()
Gets whether endcaps are inverted for this shape. The default value is false.
- Return type
boolean
- Returns
value indicating whether endcaps are inverted
getPoints
getStartEndcapColor
getStartEndcapSize
getStartEndcapType
- Polyline.getStartEndcapType()
Gets the start endcap type for this shape. The default Value is none.
- Return type
- Returns
the start endcap type
getStrokeColor
getStrokeWidth
pushPoint
setEndEndcapColor
setEndEndcapSize
setEndEndcapType
- Polyline.setEndEndcapType(endcapType)
Sets the end endcap type for this shape
- Arguments
endcapType (EndcapType) – the new endcap type
- Return type
void
setEndcapType
- Polyline.setEndcapType(endcapType)
Convenience for setting the start and eend endcap type for this shape
- Arguments
endcapType (EndcapType) – the new endcap type
- Return type
void
setEndcapsInverted
- Polyline.setEndcapsInverted(inverted)
Sets whether endcapsare inverted for this shape.
- Arguments
inverted (
boolean()
) – value indicated whether endcaps should be inverted
- Return type
void
setStartEndcapColor
setStartEndcapSize
setStartEndcapType
- Polyline.setStartEndcapType(endcapType)
Sets the start endcap type for this shape
- Arguments
endcapType (EndcapType) – the new endcap type
- Return type
void