Class EditedValueLayerStyleOGL2D
java.lang.Object
repast.simphony.visualization.editedStyle.EditedValueLayerStyleOGL2D
- All Implemented Interfaces:
ValueLayerStyleOGL
ValueLayer style loaded from xml serialized style data.
- Author:
- Nick Collier
-
Nested Class Summary
Nested classes/interfaces inherited from interface repast.simphony.visualizationOGL2D.ValueLayerStyleOGL
ValueLayerStyleOGL.Shading -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatGets the size of one size of the cell value layer cell.getColor(double... coordinates) Gets the color at the specified coordinates.voidinit(ValueLayer layer) Initializes this style with the specified ValueLayer.
-
Constructor Details
-
EditedValueLayerStyleOGL2D
-
-
Method Details
-
getColor
Description copied from interface:ValueLayerStyleOGLGets the color at the specified coordinates.- Specified by:
getColorin interfaceValueLayerStyleOGL- Parameters:
coordinates- the coordinate to get the color for- Returns:
- the paint for the specified coordinates
-
getCellSize
public float getCellSize()Description copied from interface:ValueLayerStyleOGLGets the size of one size of the cell value layer cell. The units are those appropriate to the display -- 2D or 3D.- Specified by:
getCellSizein interfaceValueLayerStyleOGL- Returns:
- the width of the cell.
-
init
Description copied from interface:ValueLayerStyleOGLInitializes this style with the specified ValueLayer.- Specified by:
initin interfaceValueLayerStyleOGL- Parameters:
layer- the layer to initialize with
-