|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.awt.SquarePointShapeFactory
public class SquarePointShapeFactory
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 | |
|---|---|
SquarePointShapeFactory()
Creates a new factory for squares with default size. |
|
SquarePointShapeFactory(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 SquarePointShapeFactory()
public SquarePointShapeFactory(double squareSize)
squareSize - the length of the side of the square| Method Detail |
|---|
public java.awt.Shape createPoint(java.awt.geom.Point2D point)
createPoint in interface PointShapeFactorypoint - the location of the point
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||