Class DefaultValueLayerStyle
java.lang.Object
repast.simphony.visualization.visualization2D.style.DefaultValueLayerStyle
- All Implemented Interfaces:
ValueLayerStyle
Deprecated.
replaced by ogl 2D
- Author:
- Eric Tatara
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValueLayer(ValueLayer layer) Deprecated.Adds a value layer to this ValueLayerStyle.intgetBlue(double... coordinates) Deprecated.Gets the blue component of the color for the specified coordinate.floatDeprecated.Gets the size of one size of the cell value layer cell.intgetGreen(double... coordinates) Deprecated.Gets the green component of the color for the specified coordinate.getPaint(double... coordinates) Deprecated.intgetRed(double... coordinates) Deprecated.Gets the red component of the color for the specified coordinate.
-
Field Details
-
layer
Deprecated.
-
-
Constructor Details
-
DefaultValueLayerStyle
public DefaultValueLayerStyle()Deprecated.
-
-
Method Details
-
addValueLayer
Deprecated.Adds a value layer to this ValueLayerStyle.- Specified by:
addValueLayerin interfaceValueLayerStyle- Parameters:
layer- the layer to add
-
getRed
public int getRed(double... coordinates) Deprecated.Gets the red component of the color for the specified coordinate.- Specified by:
getRedin interfaceValueLayerStyle- Parameters:
coordinates- the coordinate to get the color for- Returns:
- the red component of the color for the specified coordinate.
-
getGreen
public int getGreen(double... coordinates) Deprecated.Gets the green component of the color for the specified coordinate.- Specified by:
getGreenin interfaceValueLayerStyle- Parameters:
coordinates- the coordinate to get the color for- Returns:
- the green component of the color for the specified coordinate.
-
getBlue
public int getBlue(double... coordinates) Deprecated.Gets the blue component of the color for the specified coordinate.- Specified by:
getBluein interfaceValueLayerStyle- Parameters:
coordinates- the coordinate to get the color for- Returns:
- the blue component of the color for the specified coordinate.
-
getCellSize
public float getCellSize()Deprecated.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:
getCellSizein interfaceValueLayerStyle- Returns:
- the width of the cell.
-
getPaint
Deprecated.- Specified by:
getPaintin interfaceValueLayerStyle- Parameters:
coordinates- the coordinate to get the color for- Returns:
- the paint for the specified coordinates
-