public static class PointShapeFactory.Triangle extends PointShapeFactory.BasePointShapeFactory
PointShapeFactory.BasePointShapeFactory , PointShapeFactory.Circle , PointShapeFactory.Cross , PointShapeFactory.Point , PointShapeFactory.Square , PointShapeFactory.Star , PointShapeFactory.Triangle , PointShapeFactory.X DEFAULT_SIZE, sizepublic Triangle()
public Triangle(double size)
size - the size of the points
public ShapecreatePoint(Point2D point)
createPoint in interface
PointShapeFactory
createPoint in class
PointShapeFactory.BasePointShapeFactory
point - the location of the point