|
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.RMPolygon
public class RMPolygon
This class is an RMShape subclass that encapsulates an arbitrary path.
Field Summary | |
---|---|
int |
_mouseDownPointIndex
|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMPolygon()
Creates a new empty polygon shape. |
|
RMPolygon(RMPath aPath)
Creates a new polygon shape for the given path. |
Method Summary | |
---|---|
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
RMRect |
getBoundsSuperSelected()
Returns the bounds for this shape when it's super-selected. |
RMRect |
getControlPointBounds()
Returns the bounds for all the control points. |
RMPath |
getPath()
Returns the path for this polygon shape. |
void |
setPath(RMPath aPath)
Sets the path for this polygon shape. |
boolean |
superSelectable()
Editor method - indicates that this shape can be super selected. |
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 |
Field Detail |
---|
public int _mouseDownPointIndex
Constructor Detail |
---|
public RMPolygon()
public RMPolygon(RMPath aPath)
Method Detail |
---|
public RMPath getPath()
getPath
in class RMShape
public void setPath(RMPath aPath)
public boolean superSelectable()
superSelectable
in class RMShape
public RMRect getControlPointBounds()
public RMRect getBoundsSuperSelected()
getBoundsSuperSelected
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 |