Class PointShapeFactory.Cross
java.lang.Object
org.locationtech.jts.awt.PointShapeFactory.BasePointShapeFactory
org.locationtech.jts.awt.PointShapeFactory.Cross
- All Implemented Interfaces:
PointShapeFactory
- Enclosing interface:
PointShapeFactory
- Author:
- Martin Davis
-
Nested Class Summary
Nested classes/interfaces inherited from interface PointShapeFactory
PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Circle, PointShapeFactory.Cross, PointShapeFactory.Point, PointShapeFactory.Square, PointShapeFactory.Star, PointShapeFactory.Triangle, PointShapeFactory.X -
Field Summary
Fields inherited from class PointShapeFactory.BasePointShapeFactory
DEFAULT_SIZE, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePoint(Point2D point) Creates a shape representing a point.
-
Constructor Details
-
Cross
public Cross()Creates a new factory for points with default size. -
Cross
public Cross(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:
createPointin interfacePointShapeFactory- Specified by:
createPointin classPointShapeFactory.BasePointShapeFactory- Parameters:
point- the location of the point- Returns:
- a shape
-