Class PointShapeFactory.Star

Hierarchy: Object , PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Star
All Implemented Interfaces: PointShapeFactory
public static class PointShapeFactory.Star
extends PointShapeFactory.BasePointShapeFactory
public Star()
Creates a new factory for points with default size.
public Star(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