de.lmu.ifi.dbs.elki.visualization.svg
Class MinimalMarkers
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.svg.MinimalMarkers
- All Implemented Interfaces:
- MarkerLibrary
public class MinimalMarkers
- extends Object
- implements MarkerLibrary
Simple marker library that just draws colored crosses at the given coordinates.
- Author:
- Erich Schubert
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()
- Constructor
useMarker
public Element useMarker(SVGPlot plot,
Element parent,
double x,
double y,
int style,
double size)
- Use a given marker on the document.
- Specified by:
useMarker
in interface MarkerLibrary
- Parameters:
plot
- Plot to draw onparent
- parent nodex
- coordinatey
- coordinatestyle
- style (enumerated)size
- size
- Returns:
- Element node generated.