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)
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 onparent
- parent nodex
- coordinatey
- coordinatestyle
- style (enumerated)size
- size
- Returns:
- Element node generated.