public class Shape
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
nativeHandle |
Modifier | Constructor and Description |
---|---|
protected |
Shape() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getSelectID() |
boolean |
isSelectable()
The object is selectable if this is set when the object is passed in to an add call.
|
void |
setClipCoords(boolean clipVal)
If set, this shape is in clip coordinates and will not be transformed.
|
void |
setColor(float r,
float g,
float b,
float a)
Color of the shape
|
void |
setColor(int color)
Color of the shape
|
void |
setSelectable(boolean selectable)
The object is selectable if this is set when the object is passed in to an add call.
|
void |
setSelectID(long selectID) |
public long getSelectID()
public void setSelectID(long selectID)
selectID
- Unique ID for selectionpublic boolean isSelectable()
public void setSelectable(boolean selectable)
public void setColor(int color)
public void setColor(float r, float g, float b, float a)
public void setClipCoords(boolean clipVal)
public void dispose()