|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMOval
public class RMOval
This class represents a simple oval, with a setable start angle and sweep angle.
Field Summary |
---|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMOval()
Creates a plain oval (draws stroke). |
|
RMOval(float startAngle,
float sweep)
Creates an oval with the given startAngle and sweep. |
Method Summary | |
---|---|
void |
copy(java.lang.Object anObj)
Copies the given object (used for undo). |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
boolean |
getDrawsWedge()
Return whether the oval draws lines from the unswept portion of the oval to the center (like a pie wedge). |
RMPath |
getPath()
Returns the (oval) path for this shape. |
float |
getStartAngle()
Returns the start angle for the oval. |
float |
getSweepAngle()
Returns the sweep angle for the oval. |
void |
setDrawsWedge(boolean aFlag)
Sets whether the oval draws lines from the unswept portion of the oval to the center (like a pie wedge). |
void |
setStartAngle(float aValue)
Sets the start angle for the oval. |
void |
setSweepAngle(float aValue)
Sets the sweep angle for the oval. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
Methods inherited from class com.reportmill.base.RMObject |
---|
didUndo, getAnimAttribute, getClassNameShort |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMOval()
public RMOval(float startAngle, float sweep)
Method Detail |
---|
public float getStartAngle()
public void setStartAngle(float aValue)
public float getSweepAngle()
public void setSweepAngle(float aValue)
public boolean getDrawsWedge()
public void setDrawsWedge(boolean aFlag)
public RMPath getPath()
getPath
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMShape
public void copy(java.lang.Object anObj)
copy
in class RMShape
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
toXML
in class RMShape
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXML
in class RMShape
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |