Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.svg
Class MinimalMarkers

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

Field Summary
private  ColorLibrary colors
          Color library
 
Constructor Summary
MinimalMarkers()
          Constructor
 
Method Summary
 Element useMarker(SVGPlot plot, Element parent, double x, double y, int style, 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()
Constructor

Method Detail

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

Release 0.2 (2009-07-06_1820)