PolylineCollection
- class Communicator.Markup.Shape.PolylineCollection()
This class is useful for drawing a number of polylines all of which share the same visual appearance.
Methods
Methods
clear
- PolylineCollection.clear()
Removes all polylines from the collection
- Return type
void
createPolyline
getEndEndcapColor
getEndEndcapSize
getEndEndcapType
- PolylineCollection.getEndEndcapType()
Gets the end endcap type for this shape. The default value is none.
- Return type
- Returns
the end endcap type
getEndcapsInverted
- PolylineCollection.getEndcapsInverted()
Gets whether endcaps are inverted for this shape. The default value is false.
- Return type
boolean
- Returns
value indicating whether endcaps are inverted
getPolylines
getStartEndcapColor
getStartEndcapSize
getStartEndcapType
- PolylineCollection.getStartEndcapType()
Gets the start endcap type for this shape. The default Value is none.
- Return type
- Returns
the start endcap type
getStrokeColor
getStrokeWidth
setEndEndcapColor
setEndEndcapSize
setEndEndcapType
- PolylineCollection.setEndEndcapType(endcapType)
Sets the end endcap type for this shape
- Arguments
endcapType (EndcapType) – the new endcap type
- Return type
void
setEndcapType
- PolylineCollection.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
- PolylineCollection.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
- PolylineCollection.setStartEndcapType(endcapType)
Sets the start endcap type for this shape
- Arguments
endcapType (EndcapType) – the new endcap type
- Return type
void