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:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Gets the size of one size of the cell value layer cell.getColor
(double... coordinates) Gets the color at the specified coordinates.void
init
(ValueLayer layer) Initializes this style with the specified ValueLayer.
-
Method Details
-
getColor
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
Initializes this style with the specified ValueLayer.- Parameters:
layer
- the layer to initialize with
-