public class EllipseFactory extends AbstractShapeFactory
Constructor and Description |
---|
EllipseFactory() |
Modifier and Type | Method and Description |
---|---|
Shape |
createShape(int width,
int height) |
protected int |
defaultHeight() |
protected int |
defaultWidth() |
String[] |
getShapeNames() |
createShape
protected int defaultWidth()
defaultWidth
in class AbstractShapeFactory
protected int defaultHeight()
defaultHeight
in class AbstractShapeFactory
public Shape createShape(int width, int height)
public String[] getShapeNames()
Copyright © 2013-2015. All Rights Reserved.