public class MultiAnnotation extends GeometryCollection implements AnnotationTypeGeometry
bounds, geometriesGEOMETRY_ANNOTATION, GEOMETRY_COMPLEX, GEOMETRY_ELLIPSE, GEOMETRY_LINE, GEOMETRY_LINEAR_RING, GEOMETRY_LINESTRING, GEOMETRY_MULTI_ANNOTATION, GEOMETRY_MULTI_LINESTRING, GEOMETRY_MULTI_POINT, GEOMETRY_MULTI_POLYGON, GEOMETRY_POINT, GEOMETRY_POLYGON, GEOMETRY_RECTANGLE| Constructor and Description |
|---|
MultiAnnotation() |
MultiAnnotation(Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationGeometryIterator |
annotationIterator() |
MultiAnnotation |
clone()
Clones this geometry.
|
Annotation[] |
getAnnotations() |
Point |
getCenteredPoint()
This method returns a point that is typically centered on the geometry.
|
Geometry[] |
getGeometries() |
short |
getGeometryId()
Returns the geometry class id.
|
int |
getGeometryType()
Returns the geometry type for this geometry.
|
Point[] |
serialize()
Returns this geometry as an array of Point.
|
void |
setAnnotations(Annotation[] annotations) |
void |
setGeometries(Geometry[] geometries) |
java.lang.String |
toString()
Returns informations about the current geometry.
|
area, boundary, createBounds, equals, fit, geometryN, getBounds, getGeometryCount, hashCode, keepLineString, keepLineString, keepPoint, keepPoint, keepPolygon, keepPolygon, length, numGeometries, sizeOf, spatiallyEquals, transform, translate, validateasText, spatiallyEqualsfinalize, getClass, notify, notifyAll, wait, wait, waitarea, asText, boundary, createBounds, getBounds, length, sizeOf, spatiallyEquals, spatiallyEquals, transform, translatepublic MultiAnnotation()
public MultiAnnotation(Annotation[] annotations)
public Point[] serialize()
GeometryCollectionserialize in interface Geometryserialize in class GeometryCollectionpublic MultiAnnotation clone()
clone in interface Geometryclone in class GeometryCollectionpublic Annotation[] getAnnotations()
public Geometry[] getGeometries()
getGeometries in class GeometryCollectionpublic void setGeometries(Geometry[] geometries)
setGeometries in class GeometryCollectionpublic void setAnnotations(Annotation[] annotations)
public AnnotationGeometryIterator annotationIterator()
annotationIterator in interface AnnotationTypeGeometrypublic java.lang.String toString()
Geometrypublic short getGeometryId()
GeometrygetGeometryId in interface Geometrypublic int getGeometryType()
GeometrygetGeometryType in interface Geometryfor more details.public Point getCenteredPoint()
GeometrygetCenteredPoint in interface GeometryGeometry.getCenteredPoint()