public interface WhiteboardObjectEllipse extends WhiteboardObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
A type string constant indicating that an object is of type ellipse.
|
Modifier and Type | Method and Description |
---|---|
int |
getBackgroundColor()
Returns an integer representing the background color of this object.
|
double |
getRadiusX()
Returns the width radius (in pixels) of this whiteboard ellipse.
|
double |
getRadiusY()
Returns the height radius (in pixels) of this whiteboard ellipse.
|
WhiteboardPoint |
getWhiteboardPoint()
Returns the coordinates of this whiteboard object.
|
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 |
setRadiusX(double radiusX)
Sets the width radius (in pixels) of this whiteboard ellipse.
|
void |
setRadiusY(double radiusY)
Sets the height radius (in pixels) of this whiteboard ellipse.
|
void |
setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object.
|
getColor, getID, getThickness, setColor, setThickness
static final java.lang.String NAME
WhiteboardPoint getWhiteboardPoint()
void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
whiteboardPoint
- the coordinates of this object.double getRadiusX()
double getRadiusY()
void setRadiusX(double radiusX)
radiusX
- the number of pixels for the width radius.void setRadiusY(double radiusY)
radiusY
- the number of pixels for the height radius.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.