Package org.locationtech.jts.awt
Class PointShapeFactory.BasePointShapeFactory
- java.lang.Object
-
- org.locationtech.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 java.lang.Object implements PointShapeFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.locationtech.jts.awt.PointShapeFactory
PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Circle, PointShapeFactory.Cross, PointShapeFactory.Point, PointShapeFactory.Square, PointShapeFactory.Star, PointShapeFactory.Triangle, PointShapeFactory.X
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_SIZE
The default size of the shape
-
Constructor Summary
Constructors Constructor Description BasePointShapeFactory()
Creates a new factory for points with default size.BasePointShapeFactory(double size)
Creates a factory for points of given size.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.awt.Shape
createPoint(java.awt.geom.Point2D point)
Creates a shape representing a point.
-
-
-
Field Detail
-
DEFAULT_SIZE
public static final double DEFAULT_SIZE
The default size of the shape- See Also:
- Constant Field Values
-
-
Method Detail
-
createPoint
public abstract java.awt.Shape createPoint(java.awt.geom.Point2D point)
Creates a shape representing a point.- Specified by:
createPoint
in interfacePointShapeFactory
- Parameters:
point
- the location of the point- Returns:
- a shape
-
-