|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.awt.SqarePointShapeFactory
public class SqarePointShapeFactory
A factory for generating square shapes to represent points.
Field Summary | |
---|---|
static double |
DEFAULT_SIZE
The default length of the square's side. |
Constructor Summary | |
---|---|
SqarePointShapeFactory()
Creates a new factory for squares with default size. |
|
SqarePointShapeFactory(double squareSize)
Creates a factory for squares 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 |
Field Detail |
---|
public static double DEFAULT_SIZE
Constructor Detail |
---|
public SqarePointShapeFactory()
public SqarePointShapeFactory(double squareSize)
squareSize
- the length of the side of the squareMethod Detail |
---|
public java.awt.Shape createPoint(java.awt.geom.Point2D point)
createPoint
in interface PointShapeFactory
point
- the location of the point
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |