new UiMarkerCollection()
Represents all UI markers on context.
Properties:
Name | Type | Description |
---|---|---|
markers |
Array | All markers. |
Extends
- ObjectEx
Methods
-
addMarker(marker)
-
Add a marker to collection.
Parameters:
Name Type Description marker
Kekule.ChemWidget.AbstractMarker -
clearMarkers()
-
Remove all markers in collection.
-
getMarkerAt(index) → {Kekule.ChemWidget.AbstractMarker}
-
Get marker at index.
Parameters:
Name Type Description index
Int Returns:
- Type
- Kekule.ChemWidget.AbstractMarker
-
getMarkerCount() → {Int}
-
Get marker count.
Returns:
- Type
- Int
-
indexOfMarker(marker) → {Int}
-
Get index of marker in collection.
Parameters:
Name Type Description marker
Kekule.ChemWidget.AbstractMarker Returns:
- Type
- Int
-
removeMarker(marker)
-
Remove a marker in collection.
Parameters:
Name Type Description marker
Kekule.ChemWidget.AbstractMarker