Class EditedValueLayerStyleOGL2D

  • All Implemented Interfaces:

    public class EditedValueLayerStyleOGL2D
    extends Object
    implements ValueLayerStyleOGL
    ValueLayer style loaded from xml serialized style data.
    Nick Collier
    • Constructor Detail

      • EditedValueLayerStyleOGL2D

        public EditedValueLayerStyleOGL2D​(String userStyleFile)
    • Method Detail

      • getColor

        public Color getColor​(double... coordinates)
        Description copied from interface: ValueLayerStyleOGL
        Gets the color at the specified coordinates.
        Specified by:
        getColor in interface ValueLayerStyleOGL
        coordinates - the coordinate to get the color for
        the paint for the specified coordinates
      • getCellSize

        public float getCellSize()
        Description copied from interface: ValueLayerStyleOGL
        Gets the size of one size of the cell value layer cell. The units are those appropriate to the display -- 2D or 3D.
        Specified by:
        getCellSize in interface ValueLayerStyleOGL
        the width of the cell.
      • init

        public void init​(ValueLayer layer)
        Description copied from interface: ValueLayerStyleOGL
        Initializes this style with the specified ValueLayer.
        Specified by:
        init in interface ValueLayerStyleOGL
        layer - the layer to initialize with