LineCollection
- class Communicator.Markup.Shape.LineCollection()
 This class is useful for specifying multiple lines that all share the same visual appearance.
Methods
Methods
addLine
clear
- LineCollection.clear()
 Removes all line segments from this collection
- Return type
 void
getEndEndcapColor
getEndEndcapSize
getEndEndcapType
- LineCollection.getEndEndcapType()
 Gets the end endcap type for this shape. The default value is none.
- Return type
 - Returns
 the end endcap type
getEndcapsInverted
- LineCollection.getEndcapsInverted()
 Gets whether endcaps are inverted for this shape. The default value is false.
- Return type
 boolean
- Returns
 value indicating whether endcaps are inverted
getLines
- LineCollection.getLines()
 Gets the lines in the collection
- Return type
 [_MarkupLineData]
getStartEndcapColor
getStartEndcapSize
getStartEndcapType
- LineCollection.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
- LineCollection.setEndEndcapType(endcapType)
 Sets the end endcap type for this shape
- Arguments
 endcapType (EndcapType) – the new endcap type
- Return type
 void
setEndcapType
- LineCollection.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
- LineCollection.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
- LineCollection.setStartEndcapType(endcapType)
 Sets the start endcap type for this shape
- Arguments
 endcapType (EndcapType) – the new endcap type
- Return type
 void