Package elki.visualization.style.marker
Class CircleMarkers
- java.lang.Object
-
- elki.visualization.style.marker.CircleMarkers
-
- All Implemented Interfaces:
MarkerLibrary
public class CircleMarkers extends java.lang.Object implements MarkerLibrary
Simple marker library that just draws colored circles at the given coordinates.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private ColorLibrarycolorsColor libraryprivate java.lang.StringdotcolorColor of "uncolored" dotsprivate java.lang.StringgreycolorColor of "greyed out" dots(package private) ColorInterpolationinterpolColor interpolation style
-
Constructor Summary
Constructors Constructor Description CircleMarkers(StyleLibrary style)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.ElementuseMarker(SVGPlot plot, double x, double y, int stylenr, double size, double intensity)Insert a soft marker at the given coordinates.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.visualization.style.marker.MarkerLibrary
useMarker
-
-
-
-
Field Detail
-
colors
private ColorLibrary colors
Color library
-
dotcolor
private java.lang.String dotcolor
Color of "uncolored" dots
-
greycolor
private java.lang.String greycolor
Color of "greyed out" dots
-
interpol
ColorInterpolation interpol
Color interpolation style
-
-
Constructor Detail
-
CircleMarkers
public CircleMarkers(StyleLibrary style)
Constructor- Parameters:
style- Style library to use
-
-
Method Detail
-
useMarker
public org.w3c.dom.Element useMarker(SVGPlot plot, double x, double y, int stylenr, double size, double intensity)
Description copied from interface:MarkerLibraryInsert a soft marker at the given coordinates.- Specified by:
useMarkerin interfaceMarkerLibrary- Parameters:
plot- Plot to draw onx- coordinatey- coordinatestylenr- style (enumerated)size- sizeintensity- intensity of the color- Returns:
- Element node generated.
-
-