Class DefaultValueLayerStyle
- java.lang.Object
-
- repast.simphony.visualization.visualization2D.style.DefaultValueLayerStyle
-
- All Implemented Interfaces:
ValueLayerStyle
public class DefaultValueLayerStyle extends Object implements ValueLayerStyle
Deprecated.replaced by ogl 2D- Author:
- Eric Tatara
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueLayer
layer
Deprecated.
-
Constructor Summary
Constructors Constructor Description DefaultValueLayerStyle()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addValueLayer(ValueLayer layer)
Deprecated.Adds a value layer to this ValueLayerStyle.int
getBlue(double... coordinates)
Deprecated.Gets the blue component of the color for the specified coordinate.float
getCellSize()
Deprecated.Gets the size of one size of the cell value layer cell.int
getGreen(double... coordinates)
Deprecated.Gets the green component of the color for the specified coordinate.Paint
getPaint(double... coordinates)
Deprecated.int
getRed(double... coordinates)
Deprecated.Gets the red component of the color for the specified coordinate.
-
-
-
Field Detail
-
layer
protected ValueLayer layer
Deprecated.
-
-
Method Detail
-
addValueLayer
public void addValueLayer(ValueLayer layer)
Deprecated.Adds a value layer to this ValueLayerStyle.- Specified by:
addValueLayer
in 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:
getRed
in 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:
getGreen
in 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:
getBlue
in 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:
getCellSize
in interfaceValueLayerStyle
- Returns:
- the width of the cell.
-
getPaint
public Paint getPaint(double... coordinates)
Deprecated.- Specified by:
getPaint
in interfaceValueLayerStyle
- Parameters:
coordinates
- the coordinate to get the color for- Returns:
- the paint for the specified coordinates
-
-