Interface ValueLayerStyleOGL

  • All Known Implementing Classes:
    EditedValueLayerStyleOGL2D

    public interface ValueLayerStyleOGL
    Interface for classes that implement visualization styles for 2D ogl ValueLayers.
    Author:
    Nick Collier
    See Also:
    ValueLayer
    • Method Detail

      • getColor

        Color getColor​(double... coordinates)
        Gets the color at the specified coordinates.
        Parameters:
        coordinates - the coordinate to get the color for
        Returns:
        the paint for the specified coordinates
      • getCellSize

        float getCellSize()
        Gets the size of one size of the cell value layer cell. The units are those appropriate to the display -- 2D or 3D.
        Returns:
        the width of the cell.
      • init

        void init​(ValueLayer layer)
        Initializes this style with the specified ValueLayer.
        Parameters:
        layer - the layer to initialize with