public class Shape
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Shape.BoundaryType |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
Shape(long cPtr,
boolean cMemoryOwn) |
Shape(Shape shape) |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
cArrayUnwrap(Shape[] arrayWrapper) |
static Shape[] |
cArrayWrap(long[] cArray,
boolean cMemoryOwn) |
void |
delete() |
protected void |
finalize() |
AttachedGeometry |
getAttachedGeometry()
Geometry for the attached shape.
|
Shape.BoundaryType |
getBoundaryType()
Shape boundary type.
|
static long |
getCPtr(Shape obj) |
Geometry |
getGeometry()
Geometry for the non-attached shape.
|
ShapeGroup |
getGroup()
Shape group.
|
int |
getKey()
Shape identifier.
|
java.lang.String |
getLabel()
Shape label.
|
boolean |
is3D()
True if shape has Z coordinate values.
|
boolean |
isAttached()
Attached shape state.
|
boolean |
isSelected()
Selects/deselects the shape.
|
void |
setAttachedGeometry(AttachedGeometry geometry)
Geometry for the attached shape.
|
void |
setBoundaryType(Shape.BoundaryType type)
Shape boundary type.
|
void |
setGeometry(Geometry geometry)
Geometry for the non-attached shape.
|
void |
setGroup(ShapeGroup group)
Shape group.
|
void |
setLabel(java.lang.String label)
Shape label.
|
void |
setSelected(boolean state)
Selects/deselects the shape.
|
public Shape(long cPtr,
boolean cMemoryOwn)
public Shape(Shape shape)
public static long getCPtr(Shape obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public static long[] cArrayUnwrap(Shape[] arrayWrapper)
public static Shape[] cArrayWrap(long[] cArray, boolean cMemoryOwn)
public int getKey()
public void setBoundaryType(Shape.BoundaryType type)
public Shape.BoundaryType getBoundaryType()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setSelected(boolean state)
public boolean isSelected()
public void setGroup(ShapeGroup group)
public ShapeGroup getGroup()
public boolean isAttached()
public boolean is3D()
public void setGeometry(Geometry geometry)
public Geometry getGeometry()
public void setAttachedGeometry(AttachedGeometry geometry)
public AttachedGeometry getAttachedGeometry()