ShapeGelem
instead.@Deprecated public class CircleGelem extends OneColorGelem
Constructor and Description |
---|
CircleGelem(java.awt.Color color,
double cellOccupation)
Deprecated.
Constructs a new filled CircleGelem (1x1 cells).
|
CircleGelem(java.awt.Color color,
double cellOccupation,
boolean filled)
Deprecated.
Constructs a new CircleGelem (1x1 cells).
|
CircleGelem(java.awt.Color color,
double cellOccupation,
int numberOfLines,
int numberOfColumns)
Deprecated.
Constructs a new filled CircleGelem.
|
CircleGelem(java.awt.Color color,
double cellOccupation,
int numberOfLines,
int numberOfColumns,
boolean filled)
Deprecated.
Constructs a new CircleGelem.
|
className, draw, erase, height, intersects, isMutable, mutable, mutableDraw, mutableErase, numberOfColumns, numberOfLines, width, x, y
public CircleGelem(java.awt.Color color, double cellOccupation)
requires: color != null && cellOccupation >= 0.0 && cellOccupation <= 100.0
color
- gelem's colorcellOccupation
- total cell's occupation (%)public CircleGelem(java.awt.Color color, double cellOccupation, boolean filled)
requires: color != null && cellOccupation >= 0.0 && cellOccupation <= 100.0
color
- gelem's colorcellOccupation
- total cell's occupation (%)filled
- filled circle if truepublic CircleGelem(java.awt.Color color, double cellOccupation, int numberOfLines, int numberOfColumns)
requires: color != null && cellOccupation >= 0.0 && cellOccupation <= 100.0 && numberOfLines >= 1 && numberOfColumns >= 1
color
- gelem's colorcellOccupation
- total cell's occupation (%)numberOfLines
- number of linesnumberOfColumns
- number of columnspublic CircleGelem(java.awt.Color color, double cellOccupation, int numberOfLines, int numberOfColumns, boolean filled)
requires: color != null && cellOccupation >= 0.0 && cellOccupation <= 100.0 && numberOfLines >= 1 && numberOfColumns >= 1
color
- gelem's colorcellOccupation
- total cell's occupation (%)numberOfLines
- number of linesnumberOfColumns
- number of columnsfilled
- filled circle if true