|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.Line
public final class Line
Represents the Line shape.
Method Summary | |
---|---|
TextFrame |
addTextFrame(java.lang.String text)
Always throws PptEditException because Line can't have a TextFrame. |
boolean |
equals(java.lang.Object o)
Returns a value indicating whether this instance is equal to a specified object. |
java.awt.Point |
getEndPoint()
Returns the end point of a line. |
java.awt.Point |
getStartPoint()
Returns the start point of a line. |
void |
serialize(java.io.OutputStream stream)
Serializes the Line object to a stream. |
void |
setEndPoint(java.awt.Point value)
Sets the end point of a line. |
void |
setStartPoint(java.awt.Point value)
Sets the start point of a line. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void serialize(java.io.OutputStream stream) throws PptException
serialize
in class Shape
stream
- stream to which the Line is to be serialized.
PptException
public java.awt.Point getStartPoint()
public void setStartPoint(java.awt.Point value)
value
- new start point.public java.awt.Point getEndPoint()
public void setEndPoint(java.awt.Point value)
value
- new end point.public TextFrame addTextFrame(java.lang.String text) throws PptEditException
addTextFrame
in class Shape
text
- Default text for a new TextFrame.
PptEditException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to compare with this instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |