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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ValueLayerStyleOGL.Shading
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getCellSize()
Gets the size of one size of the cell value layer cell.Color
getColor(double... coordinates)
Gets the color at the specified coordinates.void
init(ValueLayer layer)
Initializes this style with the specified 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
-
-