public interface WhiteboardObjectRect extends WhiteboardObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
A type string constant indicating that an object is of type rect.
|
Modifier and Type | Method and Description |
---|---|
int |
getBackgroundColor()
Returns an integer representing the background color of this object.
|
double |
getHeight()
Gets the height (in pixels) of the WhiteboardObject.
|
WhiteboardPoint |
getWhiteboardPoint()
Returns the coordinates of this whiteboard object.
|
double |
getWidth()
Gets the width (in pixels) of the WhiteboardObject.
|
boolean |
isFill()
Returns the fill state of the WhiteboardObject.
|
void |
setBackgroundColor(int color)
Specifies the background color for this object.
|
void |
setFill(boolean fill)
Sets the fill state of the WhiteboardObject.
|
void |
setHeight(double height)
Sets the width (in pixels) of the WhiteboardObject.
|
void |
setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object.
|
void |
setWidth(double width)
Sets the width (in pixels) of the WhiteboardObject.
|
getColor, getID, getThickness, setColor, setThickness
static final java.lang.String NAME
WhiteboardPoint getWhiteboardPoint()
void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
whiteboardPoint
- the coordinates of this object.double getHeight()
double getWidth()
void setHeight(double height)
height
- The new height.void setWidth(double width)
width
- The new width.boolean isFill()
void setFill(boolean fill)
fill
- The new fill state.void setBackgroundColor(int color)
color
- the color that we'd like to set for the background of this
WhiteboardObject (using standard RGB encoding).int getBackgroundColor()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.