|
||||||||
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 a Line shape.
Method Summary | |
---|---|
TextFrame |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. |
boolean |
equals(java.lang.Object o)
Returns a value indicating whether this instance is equal to a specified object. |
java.awt.Point |
getEndPoint()
|
boolean |
getFlipHorizontal()
<b>True</b> if a shape was flipped horizontally. |
boolean |
getFlipVertical()
<b>True</b> if a shape was flipped vertically. |
int |
getRotation()
Returns or sets the number of degrees the specified shape is rotated around the z-axis. |
java.awt.Point |
getStartPoint()
|
void |
serialize(java.io.OutputStream stream)
|
void |
setEndPoint(java.awt.Point value)
|
void |
setFlipHorizontal(boolean value)
|
void |
setFlipVertical(boolean value)
|
void |
setRotation(int value)
|
void |
setStartPoint(java.awt.Point value)
|
Methods inherited from class com.aspose.slides.Shape |
---|
addLink, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFlipH, getFlipV, getHeight, getHidden, getLineFormat, getLink, getMasterShapeId, getName, getParent, getParentSlide, getPlaceholder, getProtection, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setHidden, setName, setProtection, setWidth, setX, setY, zOrder |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void serialize(java.io.OutputStream stream)
serialize
in class Shape
public java.awt.Point getStartPoint()
public void setStartPoint(java.awt.Point value)
public java.awt.Point getEndPoint()
public void setEndPoint(java.awt.Point value)
public TextFrame addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.
addTextFrame
in class Shape
text
- Default text for a new TextFrame.public boolean equals(java.lang.Object o)
Returns a value indicating whether this instance is equal to a specified object.
equals
in class java.lang.Object
o
- The object to compare with this instance.
<b>True</b>
if o is a Line that has the same coordinates as this instance; otherwise, <b>false</b>
.public boolean getFlipHorizontal()
<b>True</b>
if a shape was flipped horizontally.
Read/write bool
.
getFlipHorizontal
in class Shape
public void setFlipHorizontal(boolean value)
setFlipHorizontal
in class Shape
public boolean getFlipVertical()
<b>True</b>
if a shape was flipped vertically.
Read/write bool
.
getFlipVertical
in class Shape
public void setFlipVertical(boolean value)
setFlipVertical
in class Shape
public int getRotation()
Returns or sets the number of degrees the specified shape is rotated around
the z-axis. A positive value indicates clockwise rotation; a negative value
indicates counterclockwise rotation. Read/write int
.
getRotation
in class Shape
public void setRotation(int value)
setRotation
in class Shape
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |