com.vividsolutions.jts.awt
Class PointShapeFactory.BasePointShapeFactory
java.lang.Object
com.vividsolutions.jts.awt.PointShapeFactory.BasePointShapeFactory
- All Implemented Interfaces:
- PointShapeFactory
- Direct Known Subclasses:
- PointShapeFactory.Circle, PointShapeFactory.Cross, PointShapeFactory.Point, PointShapeFactory.Square, PointShapeFactory.Star, PointShapeFactory.Triangle, PointShapeFactory.X
- Enclosing interface:
- PointShapeFactory
public abstract static class PointShapeFactory.BasePointShapeFactory
- extends Object
- implements PointShapeFactory
Field Summary |
static double |
DEFAULT_SIZE
The default size of the shape |
protected double |
size
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
public static double DEFAULT_SIZE
- The default size of the shape
size
protected double size
PointShapeFactory.BasePointShapeFactory
public PointShapeFactory.BasePointShapeFactory()
- Creates a new factory for points with default size.
PointShapeFactory.BasePointShapeFactory
public PointShapeFactory.BasePointShapeFactory(double size)
- Creates a factory for points of given size.
- Parameters:
size
- the size of the points
createPoint
public abstract Shape createPoint(Point2D point)
- Creates a shape representing a point.
- Specified by:
createPoint
in interface PointShapeFactory
- Parameters:
point
- the location of the point
- Returns:
- a shape
Copyright © 2012. All Rights Reserved.