Package elki.visualization.style.marker
Class MinimalMarkers
- java.lang.Object
-
- elki.visualization.style.marker.MinimalMarkers
-
- All Implemented Interfaces:
MarkerLibrary
public class MinimalMarkers extends java.lang.Object implements MarkerLibrary
Simple marker library that just draws colored rectangles at the given coordinates.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private ColorLibrary
colors
Color libraryprivate java.lang.String
dotcolor
Color of "uncolored" dotsprivate java.lang.String
greycolor
Color of "greyed out" dots(package private) ColorInterpolation
interpol
Color interpolation style
-
Constructor Summary
Constructors Constructor Description MinimalMarkers(StyleLibrary style)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Element
useMarker(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
-
MinimalMarkers
public MinimalMarkers(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:MarkerLibrary
Insert a soft marker at the given coordinates.- Specified by:
useMarker
in interfaceMarkerLibrary
- Parameters:
plot
- Plot to draw onx
- coordinatey
- coordinatestylenr
- style (enumerated)size
- sizeintensity
- intensity of the color- Returns:
- Element node generated.
-
-