Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.svg
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)

Author:
Erich Schubert

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.2.1 (2009-07-13_1605)