|
ReportMill 8.0 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
This class is an RMShape subclass that encapsulates an arbitrary path.
| Field Summary | |
int |
_mouseDownPointIndex
|
| Fields inherited from class com.reportmill.shape.RMShape |
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth, 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 | |
boolean |
acceptsEvents()
RMEditor method - indicates the polygon shape accepts events (to edit path control points). |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.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. |
java.lang.Object |
initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
Legacy archival. |
void |
setPath(RMPath aPath)
Sets the path for this polygon shape. |
com.ribs.RXElement |
toXML(com.ribs.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 RMShapepublic void setPath(RMPath aPath)
public boolean acceptsEvents()
acceptsEvents in class RMShapepublic RMRect getControlPointBounds()
public RMRect getBoundsSuperSelected()
getBoundsSuperSelected in class RMShapepublic com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
toXML in class RMShape
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
fromXML in class RMShapepublic java.lang.Object initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
initWithArchiver in interface com.reportmill.base.RMArchiver.ArchivinginitWithArchiver in class RMShape
|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||