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 PointShapeFactoryAn interface for classes which createShapes to representPointShapeFactory.Pointgeometries. 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 classPointShapeFactory.BasePointShapeFactorystatic classPointShapeFactory.Circlestatic classPointShapeFactory.Crossstatic classPointShapeFactory.Pointstatic classPointShapeFactory.Squarestatic classPointShapeFactory.Starstatic classPointShapeFactory.Trianglestatic classPointShapeFactory.X
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShapecreatePoint(Point2D point)Creates a shape representing aPointShapeFactory.Point.
-
-
-
Method Detail
-
createPoint
Shape createPoint(Point2D point)
Creates a shape representing aPointShapeFactory.Point.- Parameters:
point- the location of the point- Returns:
- a shape
-
-