Class PointShapeFactory.Circle

Hierarchy: Object , PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Circle
All Implemented Interfaces: PointShapeFactory
public static class PointShapeFactory.Circle
extends PointShapeFactory.BasePointShapeFactory
public Circle()
Creates a new factory for points with default size.
public Circle(double size)
Creates a factory for points of given size.
Parameters:
size - size the size of the points
public Shape createPoint(Point2D point)
Creates a shape representing a point.
Parameters:
point - point the location of the point
Returns:
a shape