public class Shape
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
Shape.BoundaryType |
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
Shape(long cPtr,
boolean cMemoryOwn) |
|
Shape(Shape shape) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
AttachedGeometry |
getAttachedGeometry()
Geometry for the attached shape.
|
Shape.BoundaryType |
getBoundaryType()
Shape boundary type.
|
protected 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.
|
protected Shape(long cPtr, boolean cMemoryOwn)
public Shape(Shape shape)
protected static long getCPtr(Shape obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
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()