Package | Description |
---|---|
factory.shape4 |
Modifier and Type | Method and Description |
---|---|
static Shape |
ShapeFactory.newCircle(int radius) |
static Shape |
ShapeFactory.newEllipse(int radius1,
int radius2) |
static Shape |
ShapeFactory.newRectangle(int height,
int width) |
static Shape |
ShapeFactory.newSquare(int height) |