Package org.locationtech.jts.awt
Interface PointShapeFactory
-
- All Known Implementing Classes:
PointShapeFactory.BasePointShapeFactory
,PointShapeFactory.Circle
,PointShapeFactory.Cross
,PointShapeFactory.Point
,PointShapeFactory.Square
,PointShapeFactory.Star
,PointShapeFactory.Triangle
,PointShapeFactory.X
public interface PointShapeFactory
An interface for classes which createShape
s to representPointShapeFactory.Point
geometries. Java2D does not provide an actual point shape, so some other shape must be used to render points (e.g. such as a Rectangle or Ellipse).- Author:
- Martin Davis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PointShapeFactory.BasePointShapeFactory
static class
PointShapeFactory.Circle
static class
PointShapeFactory.Cross
static class
PointShapeFactory.Point
static class
PointShapeFactory.Square
static class
PointShapeFactory.Star
static class
PointShapeFactory.Triangle
static class
PointShapeFactory.X
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Shape
createPoint(java.awt.geom.Point2D point)
Creates a shape representing aPointShapeFactory.Point
.
-
-
-
Method Detail
-
createPoint
java.awt.Shape createPoint(java.awt.geom.Point2D point)
Creates a shape representing aPointShapeFactory.Point
.- Parameters:
point
- the location of the point- Returns:
- a shape
-
-