com.vividsolutions.jts.awt
Class PointShapeFactory.Triangle
java.lang.Object
com.vividsolutions.jts.awt.PointShapeFactory.BasePointShapeFactory
com.vividsolutions.jts.awt.PointShapeFactory.Triangle
- All Implemented Interfaces:
- PointShapeFactory
- Enclosing interface:
- PointShapeFactory
public static class PointShapeFactory.Triangle
- extends PointShapeFactory.BasePointShapeFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointShapeFactory.Triangle
public PointShapeFactory.Triangle()
- Creates a new factory for points with default size.
PointShapeFactory.Triangle
public PointShapeFactory.Triangle(double size)
- Creates a factory for points of given size.
- Parameters:
size - the size of the points
createPoint
public Shape createPoint(Point2D point)
- Creates a shape representing a point.
- Specified by:
createPoint in interface PointShapeFactory- Specified by:
createPoint in class PointShapeFactory.BasePointShapeFactory
- Parameters:
point - the location of the point
- Returns:
- a shape
Copyright © 2011. All Rights Reserved.