de.lmu.ifi.dbs.elki.visualization.style.marker
Class MinimalMarkers

java.lang.Object
  extended by 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.


Field Summary
private  ColorLibrary colors
          Color library
 
Constructor Summary
MinimalMarkers(StyleLibrary style)
          Constructor
 
Method Summary
 Element useMarker(SVGPlot plot, Element parent, double x, double y, int stylenr, double size)
          Use a given marker on the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

private ColorLibrary colors
Color library

Constructor Detail

MinimalMarkers

public MinimalMarkers(StyleLibrary style)
Constructor

Parameters:
style - Style library to use
Method Detail

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 on
parent - parent node
x - coordinate
y - coordinate
stylenr - style (enumerated)
size - size
Returns:
Element node generated.

Release 0.4.0 (2011-09-20_1324)