Interface MarkerLibrary

  • All Known Implementing Classes:
    CircleMarkers, MinimalMarkers, PrettyMarkers

    public interface MarkerLibrary
    A marker library is a class that can generate and draw various styles of markers. Different uses might require different marker libraries (e.g., full screen, thumbnail, print)
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default org.w3c.dom.Element useMarker​(SVGPlot plot, double x, double y, int style, double size)
      Insert a marker at the given coordinates.
      org.w3c.dom.Element useMarker​(SVGPlot plot, double x, double y, int style, double size, double intensity)
      Insert a soft marker at the given coordinates.
    • Method Detail

      • useMarker

        default org.w3c.dom.Element useMarker​(SVGPlot plot,
                                              double x,
                                              double y,
                                              int style,
                                              double size)
        Insert a marker at the given coordinates.
        Parameters:
        plot - Plot to draw on
        x - coordinate
        y - coordinate
        style - style (enumerated)
        size - size
        Returns:
        Element node generated.
      • useMarker

        org.w3c.dom.Element useMarker​(SVGPlot plot,
                                      double x,
                                      double y,
                                      int style,
                                      double size,
                                      double intensity)
        Insert a soft marker at the given coordinates.
        Parameters:
        plot - Plot to draw on
        x - coordinate
        y - coordinate
        style - style (enumerated)
        size - size
        intensity - intensity of the color
        Returns:
        Element node generated.