Class: UiMarkerCollection

Kekule.ChemWidget. UiMarkerCollection

new UiMarkerCollection()

Represents all UI markers on context.
Properties:
Name Type Description
markers Array All markers.
Source:

Extends

  • ObjectEx

Methods

addMarker(marker)

Add a marker to collection.
Parameters:
Name Type Description
marker Kekule.ChemWidget.AbstractMarker
Source:

clearMarkers()

Remove all markers in collection.
Source:

getMarkerAt(index) → {Kekule.ChemWidget.AbstractMarker}

Get marker at index.
Parameters:
Name Type Description
index Int
Source:
Returns:
Type
Kekule.ChemWidget.AbstractMarker

getMarkerCount() → {Int}

Get marker count.
Source:
Returns:
Type
Int

indexOfMarker(marker) → {Int}

Get index of marker in collection.
Parameters:
Name Type Description
marker Kekule.ChemWidget.AbstractMarker
Source:
Returns:
Type
Int

removeMarker(marker)

Remove a marker in collection.
Parameters:
Name Type Description
marker Kekule.ChemWidget.AbstractMarker
Source: