Package org.locationtech.jts.awt
Class PointShapeFactory.Circle
java.lang.Object
org.locationtech.jts.awt.PointShapeFactory.BasePointShapeFactory
org.locationtech.jts.awt.PointShapeFactory.Circle
- All Implemented Interfaces:
PointShapeFactory
- Enclosing interface:
- 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 inherited from class org.locationtech.jts.awt.PointShapeFactory.BasePointShapeFactory
DEFAULT_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePoint
(Point2D point) Creates a shape representing a point.
-
Constructor Details
-
Circle
public Circle()Creates a new factory for points with default size. -
Circle
public Circle(double size) Creates a factory for points of given size.- Parameters:
size
- the size of the points
-
-
Method Details
-
createPoint
Creates a shape representing a point.- Specified by:
createPoint
in interfacePointShapeFactory
- Specified by:
createPoint
in classPointShapeFactory.BasePointShapeFactory
- Parameters:
point
- the location of the point- Returns:
- a shape
-