|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.svg.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()
Constructor without arguments, will use DEFAULT_PREFIX as prefix. |
|
PrettyMarkers(String prefix)
Constructor |
|
| Method Summary | |
|---|---|
void |
plotMarker(Document document,
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)
prefix - Prefix to use.public PrettyMarkers()
DEFAULT_PREFIX as prefix.
| Method Detail |
|---|
public void plotMarker(Document document,
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
document - containing documentparent - 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 | |||||||||||