de.lmu.ifi.dbs.elki.visualization.style.marker
Class MinimalMarkers
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.style.marker.MinimalMarkers
- All Implemented Interfaces:
- MarkerLibrary
public class MinimalMarkers
- extends Object
- implements MarkerLibrary
Simple marker library that just draws colored crosses at the given coordinates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
colors
private ColorLibrary colors
- Color library
MinimalMarkers
public MinimalMarkers(StyleLibrary style)
- Constructor
- Parameters:
style - Style library to use
useMarker
public Element useMarker(SVGPlot plot,
Element parent,
double x,
double y,
int stylenr,
double size)
- Use a given marker on the document.
- Specified by:
useMarker in interface MarkerLibrary
- Parameters:
plot - Plot to draw onparent - parent nodex - coordinatey - coordinatestylenr - style (enumerated)size - size
- Returns:
- Element node generated.