Class PointShapeFactory.Triangle

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