public interface WhiteboardObjectPolygon extends WhiteboardObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
A type string constant indicating that an object is of type polygon.
|
Modifier and Type | Method and Description |
---|---|
int |
getBackgroundColor()
Returns an integer representing the background color of this object.
|
java.util.List<WhiteboardPoint> |
getPoints()
Returns a list of all the WhiteboardPoint instances that this
WhiteboardObject is composed of.
|
boolean |
isFill()
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 |
setPoints(java.util.List<WhiteboardPoint> points)
Sets the list of WhiteboardPoint instances that this
WhiteboardObject is composed of.
|
getColor, getID, getThickness, setColor, setThickness
static final java.lang.String NAME
boolean isFill()
void setFill(boolean fill)
fill
- The new fill state.java.util.List<WhiteboardPoint> getPoints()
void setPoints(java.util.List<WhiteboardPoint> points)
points
- the list of WhiteboardPoint instances that this
WhiteboardObject is composed of.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.