public interface WhiteboardObject
WhiteboardObject are created through the WhiteboardSession session.
All WhiteboardObjects have whiteboard object id.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
A type string constant indicating that an object is of type object.
|
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Returns an integer representing the color of this object.
|
java.lang.String |
getID()
Returns a String uniquely identifying this WhiteboardObject.
|
int |
getThickness()
Returns an integer indicating the thickness (represented as number of
pixels) of this whiteboard object (or its border).
|
void |
setColor(int color)
Sets the color of this whiteboard object (or rather it's border).
|
void |
setThickness(int thickness)
Sets the thickness (in pixels) of this whiteboard object.
|
static final java.lang.String NAME
java.lang.String getID()
int getThickness()
void setThickness(int thickness)
thickness
- the number of pixels that this object (or its border)
should be thick.int getColor()
void setColor(int color)
color
- the color that we'd like to set on this object (using
standard RGB encoding).
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.