JTS Core 1.17.1
Packages
Classes
Search
About
Top
Square()
Square(double)
createPoint(Point2D): Shape
Bottom
Source
Classic
org.locationtech.jts.awt
Class PointShapeFactory.Square
Hierarchy:
Object
,
PointShapeFactory.BasePointShapeFactory
, PointShapeFactory.Square
All Implemented Interfaces:
PointShapeFactory
public static class PointShapeFactory.Square
extends
PointShapeFactory.BasePointShapeFactory
public
Square()
Creates a new factory for squares with default size.
public
Square(double size)
Creates a factory for squares of given size.
Parameters:
size - size the size of the points
public
Shape
createPoint(
Point2D
point)
Creates a shape representing a point.
Parameters:
point - point the location of the point
Returns:
a shape