JTS Topology Suite version 1.12

com.vividsolutions.jts.awt
Class PointShapeFactory.Star

java.lang.Object
  extended by com.vividsolutions.jts.awt.PointShapeFactory.BasePointShapeFactory
      extended by com.vividsolutions.jts.awt.PointShapeFactory.Star
All Implemented Interfaces:
PointShapeFactory
Enclosing interface:
PointShapeFactory

public static class PointShapeFactory.Star
extends PointShapeFactory.BasePointShapeFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vividsolutions.jts.awt.PointShapeFactory
PointShapeFactory.BasePointShapeFactory, PointShapeFactory.Circle, PointShapeFactory.Cross, PointShapeFactory.Point, PointShapeFactory.Square, PointShapeFactory.Star, PointShapeFactory.Triangle, PointShapeFactory.X
 
Field Summary
 
Fields inherited from class com.vividsolutions.jts.awt.PointShapeFactory.BasePointShapeFactory
DEFAULT_SIZE, size
 
Constructor Summary
PointShapeFactory.Star()
          Creates a new factory for points with default size.
PointShapeFactory.Star(double size)
          Creates a factory for points of given size.
 
Method Summary
 java.awt.Shape createPoint(java.awt.geom.Point2D point)
          Creates a shape representing a point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointShapeFactory.Star

public PointShapeFactory.Star()
Creates a new factory for points with default size.


PointShapeFactory.Star

public PointShapeFactory.Star(double size)
Creates a factory for points of given size.

Parameters:
size - the size of the points
Method Detail

createPoint

public java.awt.Shape createPoint(java.awt.geom.Point2D point)
Creates a shape representing a point.

Specified by:
createPoint in interface PointShapeFactory
Specified by:
createPoint in class PointShapeFactory.BasePointShapeFactory
Parameters:
point - the location of the point
Returns:
a shape

JTS Topology Suite version 1.12