public class WhiteboardObjectCircleJabberImpl extends WhiteboardObjectJabberImpl implements WhiteboardObjectCircle
WhiteboardObjectCircleJabberImpl are created through the WhiteboardSession session.
All WhiteboardObjectCircleJabberImpl have whiteboard object id.
NAME
Constructor and Description |
---|
WhiteboardObjectCircleJabberImpl()
Default WhiteboardObjectCircleJabberImpl constructor.
|
WhiteboardObjectCircleJabberImpl(java.lang.String xml)
WhiteboardObjectCircleJabberImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBackgroundColor()
Returns an integer representing the background color of this object.
|
double |
getRadius()
Returns the radius (in pixels) of this whiteboard circle.
|
WhiteboardPoint |
getWhiteboardPoint()
Returns the coordinates of this whiteboard object.
|
boolean |
isFill()
Returns the fill state of the WhiteboardObject.
|
void |
setBackgroundColor(int backColor)
Specifies the background color for this object.
|
void |
setFill(boolean fill)
Sets the fill state of the WhiteboardObject.
|
void |
setRadius(double radius)
Sets the radius (in pixels) of this whiteboard circle.
|
void |
setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
Sets the coordinates of this whiteboard object.
|
java.lang.String |
toXML()
Returns the XML reppresentation of the PacketExtension.
|
colorToHex, colorToHex, equals, generateID, getColor, getID, getThickness, setColor, setID, setThickness
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColor, getID, getThickness, setColor, setThickness
public WhiteboardObjectCircleJabberImpl()
public WhiteboardObjectCircleJabberImpl(java.lang.String xml)
xml
- the XML string object to parse.public WhiteboardPoint getWhiteboardPoint()
getWhiteboardPoint
in interface WhiteboardObjectCircle
public void setWhiteboardPoint(WhiteboardPoint whiteboardPoint)
setWhiteboardPoint
in interface WhiteboardObjectCircle
whiteboardPoint
- the coordinates of this object.public double getRadius()
getRadius
in interface WhiteboardObjectCircle
public void setRadius(double radius)
setRadius
in interface WhiteboardObjectCircle
radius
- the number of pixels for the radius.public boolean isFill()
isFill
in interface WhiteboardObjectCircle
public void setFill(boolean fill)
setFill
in interface WhiteboardObjectCircle
fill
- The new fill state.public void setBackgroundColor(int backColor)
setBackgroundColor
in interface WhiteboardObjectCircle
backColor
- the color that we'd like to set for the background of this
WhiteboardObject (using standard RGB encoding).public int getBackgroundColor()
getBackgroundColor
in interface WhiteboardObjectCircle
public java.lang.String toXML()
toXML
in class WhiteboardObjectJabberImpl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.