java.awt.Shapepublic class GeometryCollectionShape
extends java.lang.Object
implements java.awt.Shape
Shape which contains a heterogeneous collection of other shapes
representing JTS Geometrys.| Constructor | Description |
|---|---|
GeometryCollectionShape() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(java.awt.Shape shape) |
|
boolean |
contains(double x,
double y) |
|
boolean |
contains(double x,
double y,
double w,
double h) |
|
boolean |
contains(java.awt.geom.Point2D p) |
|
boolean |
contains(java.awt.geom.Rectangle2D r) |
|
java.awt.Rectangle |
getBounds() |
|
java.awt.geom.Rectangle2D |
getBounds2D() |
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at) |
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness) |
|
boolean |
intersects(double x,
double y,
double w,
double h) |
|
boolean |
intersects(java.awt.geom.Rectangle2D r) |
public void add(java.awt.Shape shape)
public java.awt.Rectangle getBounds()
getBounds in interface java.awt.Shapepublic java.awt.geom.Rectangle2D getBounds2D()
getBounds2D in interface java.awt.Shapepublic boolean contains(double x,
double y)
contains in interface java.awt.Shapepublic boolean contains(java.awt.geom.Point2D p)
contains in interface java.awt.Shapepublic boolean intersects(double x,
double y,
double w,
double h)
intersects in interface java.awt.Shapepublic boolean intersects(java.awt.geom.Rectangle2D r)
intersects in interface java.awt.Shapepublic boolean contains(double x,
double y,
double w,
double h)
contains in interface java.awt.Shapepublic boolean contains(java.awt.geom.Rectangle2D r)
contains in interface java.awt.Shapepublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
getPathIterator in interface java.awt.Shapepublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
getPathIterator in interface java.awt.ShapeCopyright © 2018. All rights reserved.