Class 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
    • 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
    • Field Detail

      • dotcolor

        private java.lang.String dotcolor
        Color of "uncolored" dots
      • greycolor

        private java.lang.String greycolor
        Color of "greyed out" dots
    • 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 interface MarkerLibrary
        Parameters:
        plot - Plot to draw on
        x - coordinate
        y - coordinate
        stylenr - style (enumerated)
        size - size
        intensity - intensity of the color
        Returns:
        Element node generated.