|
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.RMLineSegment
public class RMLineSegment
This class represents a simple line shape, drawing a line from a start point to an end point.
| Field Summary |
|---|
| Fields inherited from class com.reportmill.shape.RMShape |
|---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
| Constructor Summary | |
|---|---|
RMLineSegment()
Creates a basic line (a point actually at 0,0). |
|
RMLineSegment(float x1,
float y1,
float x2,
float y2)
Creates a basic black line from the given x1, y1 to the given x2, y2. |
|
| Method Summary | |
|---|---|
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
RMPath |
getPath()
Returns the line path. |
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 RMLineSegment()
public RMLineSegment(float x1,
float y1,
float x2,
float y2)
| Method Detail |
|---|
public RMPath getPath()
getPath in class RMShapepublic 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 | ||||||||