|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.style.marker.PrettyMarkers
public class PrettyMarkers

Marker library achieving a larger number of styles by combining different shapes with different colors. Uses object ID management by SVGPlot.
| Field Summary | |
|---|---|
private ColorLibrary |
colors
Color library |
private static String |
DEFAULT_PREFIX
Default prefix to use. |
private String |
prefix
Prefix for the IDs generated. |
| Constructor Summary | |
|---|---|
PrettyMarkers(String prefix,
StyleLibrary style)
Constructor |
|
PrettyMarkers(StyleLibrary style)
Constructor without prefix argument, will use DEFAULT_PREFIX as
prefix. |
|
| Method Summary | |
|---|---|
void |
plotMarker(SVGPlot plot,
Element parent,
double x,
double y,
int style,
double size)
Draw an marker used in scatter plots. |
Element |
useMarker(SVGPlot plot,
Element parent,
double x,
double y,
int style,
double size)
Insert a marker at the given coordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ColorLibrary colors
private static final String DEFAULT_PREFIX
private String prefix
| Constructor Detail |
|---|
public PrettyMarkers(String prefix,
StyleLibrary style)
prefix - prefix to use.style - style library to usepublic PrettyMarkers(StyleLibrary style)
DEFAULT_PREFIX as
prefix.
style - Style library to use| Method Detail |
|---|
public void plotMarker(SVGPlot plot,
Element parent,
double x,
double y,
int style,
double size)
useMarker(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot, org.w3c.dom.Element, double, double, int, double) method
instead, which exploits the SVG features of symbol definition and use
plot - containing plotparent - parent nodex - positiony - positionstyle - marker style (enumerated)size - size
public Element useMarker(SVGPlot plot,
Element parent,
double x,
double y,
int style,
double size)
MarkerLibrary
useMarker in interface MarkerLibraryplot - Plot to draw onparent - parent nodex - coordinatey - coordinatestyle - style (enumerated)size - size
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||