de.lmu.ifi.dbs.elki.visualization.style.marker
Interface MarkerLibrary

All Known Implementing Classes:
MinimalMarkers, PrettyMarkers

public interface MarkerLibrary

A marker library is a class that can generate and draw various styles of markers. Different uses might require different marker libraries (e.g. full screen, thumbnail, print)


Method Summary
 Element useMarker(SVGPlot plot, Element parent, double x, double y, int style, double size)
          Insert a marker at the given coordinates.
 

Method Detail

useMarker

Element useMarker(SVGPlot plot,
                  Element parent,
                  double x,
                  double y,
                  int style,
                  double size)
Insert a marker at the given coordinates. Markers will be defined in the defs part of the document, and then SVG-"use"d at the given coordinates. This supposedly is more efficient and significantly reduces file size. Symbols will be named "s0", "s1" etc.; these names must not be used by other elements in the SVG document!

Parameters:
plot - Plot to draw on
parent - parent node
x - coordinate
y - coordinate
style - style (enumerated)
size - size
Returns:
Element node generated.

Release 0.4.0 (2011-09-20_1324)