public class GeometryCollection extends VectorElement
swigCMemOwn| Constructor and Description |
|---|
GeometryCollection(long cPtr,
boolean cMemoryOwn) |
GeometryCollection(MultiGeometry geometry,
GeometryCollectionStyle style)
Constructs a new GeometryCollection object from multigeometry and style.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(GeometryCollection obj) |
MultiGeometry |
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
GeometryCollectionStyle |
getStyle()
Returns the style of this geometry collection.
|
void |
setGeometry(MultiGeometry geometry)
Sets the geometry for this geometry collection.
|
void |
setStyle(GeometryCollectionStyle style)
Sets the style for this geometry collection.
|
static GeometryCollection |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
equals, getBounds, getCPtr, getId, getMetaData, getMetaDataElement, hashCode, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisiblepublic GeometryCollection(long cPtr,
boolean cMemoryOwn)
public GeometryCollection(MultiGeometry geometry, GeometryCollectionStyle style)
geometry - The multigeometry containing possibly points, lines, polygons.style - The style defining multigeometry rendering.public static long getCPtr(GeometryCollection obj)
protected void finalize()
finalize in class VectorElementpublic void delete()
delete in class VectorElementpublic static GeometryCollection swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public MultiGeometry getGeometry()
VectorElementgetGeometry in class VectorElementpublic void setGeometry(MultiGeometry geometry)
geometry - The new geometry object.public GeometryCollectionStyle getStyle()
public void setStyle(GeometryCollectionStyle style)
public java.lang.String swigGetClassName()
swigGetClassName in class VectorElementpublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class VectorElement