public class PolygonComposedGelem extends Gelem
Constructor and Description |
---|
PolygonComposedGelem(java.awt.Color[] colorArray,
double[][][] polygonArray)
Constructs a new Gelem (1x1 cells).
|
PolygonComposedGelem(java.awt.Color[] colorArray,
double[][][] polygonArray,
int numberOfLines,
int numberOfColumns)
Constructs a new PolygonComposedGelem.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
invalidArgumentsMessage(java.awt.Color[] colorArray,
double[][][] polygonArray) |
static boolean |
validArguments(java.awt.Color[] colorArray,
double[][][] polygonArray) |
className, draw, erase, height, intersects, isMutable, mutable, mutableDraw, mutableErase, numberOfColumns, numberOfLines, width, x, y
public PolygonComposedGelem(java.awt.Color[] colorArray, double[][][] polygonArray)
colorArray
- the array of colorspolygonArray
- all the polygonspublic PolygonComposedGelem(java.awt.Color[] colorArray, double[][][] polygonArray, int numberOfLines, int numberOfColumns)
colorArray
- the array of colorspolygonArray
- all the polygonsnumberOfLines
- number of linesnumberOfColumns
- number of columns