JTS Core 1.17.1
Packages
Classes
Search
About
Top
Triangle()
Triangle(double)
createPoint(Point2D): Shape
Bottom
Source
Classic
org.locationtech.jts.awt
Class PointShapeFactory.Triangle
Hierarchy:
Object
,
PointShapeFactory.BasePointShapeFactory
, PointShapeFactory.Triangle
All Implemented Interfaces:
PointShapeFactory
public static class PointShapeFactory.Triangle
extends
PointShapeFactory.BasePointShapeFactory
public
Triangle()
Creates a new factory for points with default size.
public
Triangle(double size)
Creates a factory for points 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