public static class PointShapeFactory.Cross extends PointShapeFactory.BasePointShapeFactory
PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Circle, PointShapeFactory.Cross, PointShapeFactory.Point, PointShapeFactory.Square, PointShapeFactory.Star, PointShapeFactory.Triangle, PointShapeFactory.X
DEFAULT_SIZE, size
Constructor and Description |
---|
PointShapeFactory.Cross()
Creates a new factory for points with default size.
|
PointShapeFactory.Cross(double size)
Creates a factory for points of given size.
|
public PointShapeFactory.Cross()
public PointShapeFactory.Cross(double size)
size
- the size of the pointspublic Shape createPoint(Point2D point)
createPoint
in interface PointShapeFactory
createPoint
in class PointShapeFactory.BasePointShapeFactory
point
- the location of the pointCopyright © 2015. All rights reserved.