|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
public class Shape
Represents the abstract shape on a slide.
Method Summary | |
---|---|
Link |
addLink()
Adds the new link to a shape. |
void |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. |
void |
clearLink()
Clears the Link. |
java.lang.String |
getAlternativeText()
Returns the alternative text associated with a shape in a Web presentation. |
AnimationSettings |
getAnimationSettings()
Returns the AnimationSettings object that contains animation properties for a shape. |
FillFormat |
getFillFormat()
Returns the FillFormat object that contains fill formatting properties for a shape. |
int |
getHeight()
Returns the height of a shape. |
LineFormat |
getLineFormat()
Returns the LineFormat object that contains line formatting properties for a shape. |
Link |
getLink()
Return the Link object for a shape. |
java.lang.String |
getName()
Returns the name of a shape. |
Slide |
getParent()
Returns the parent slide. |
Placeholder |
getPlaceholder()
|
int |
getRotation()
Returns the number of degrees the specified shape is rotated around the z-axis. |
Tags |
getTags()
Returns the tags for a shape. |
TextFrame |
getTextFrame()
Returns the TextFrame object for a Shape. |
int |
getWidth()
Returns the width of a shape. |
int |
getX()
Returns the x-coordinate of the upper-left corner of a shape. |
int |
getY()
Returns the y-coordinate of the upper-left corner of a shape. |
int |
getZOrderPosition()
Returns the position of a shape in the z-order. |
boolean |
isFlipH()
Determines whether the shape is flipped horizontally. |
boolean |
isFlipV()
Determines whether the shape is flipped vertically. |
boolean |
isHidden()
Determines whether the shape is hidden. |
boolean |
isMasterTextHolder()
True if shape is a master text holder. |
boolean |
isTextHolder()
Returns true if shape is a TextHolder. |
void |
serialize(java.io.OutputStream stream)
Serializes a Shape object to the stream. |
void |
setAlternativeText(java.lang.String value)
Sets the alternative text associated with a shape in a Web presentation. |
void |
setFlipH(boolean value)
Flips the shape horizontally. |
void |
setFlipV(boolean value)
Flips the shape vertically. |
void |
setHeight(int value)
Sets the height of a shape. |
void |
setHidden(boolean value)
Sets whether the shape is hidden. |
void |
setName(java.lang.String value)
Sets the name of a shape. |
void |
setRotation(int value)
Sets the number of degrees the specified shape is rotated around the z-axis. |
void |
setWidth(int value)
Sets the width of a shape. |
void |
setX(int value)
Sets the x-coordinate of the upper-left corner of a shape. |
void |
setY(int value)
Sets the y-coordinate of the upper-left corner of a shape. |
void |
zOrder(int cmd)
Moves the shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isTextHolder()
public Placeholder getPlaceholder()
public boolean isMasterTextHolder()
public LineFormat getLineFormat()
public FillFormat getFillFormat()
public AnimationSettings getAnimationSettings()
public Link getLink()
public Link addLink()
public void clearLink()
public void serialize(java.io.OutputStream stream) throws PptException
stream
- The stream to which the Shape is to be serialized.
PptException
public Slide getParent()
public int getZOrderPosition()
public void zOrder(int cmd)
cmd
- specifies where to move the specified shape relative to the other
shapes.public java.lang.String getAlternativeText()
public void setAlternativeText(java.lang.String value)
value
- the alternative text.public java.lang.String getName()
public void setName(java.lang.String value)
value
- the alternative text.public boolean isHidden()
public void setHidden(boolean value)
value
- true if the shape is hidden.public int getRotation()
public void setRotation(int value) throws java.lang.Exception
value
- new rotation angle.
java.lang.Exception
public int getX()
public void setX(int value)
value
- new x coordinate.public int getY()
public void setY(int value)
value
- new y coordinate.public int getWidth()
public void setWidth(int value)
value
- new width of a shape.public int getHeight()
public void setHeight(int value)
value
- new height of a shape.public boolean isFlipH()
public void setFlipH(boolean value) throws java.lang.Exception
value
- true to flip the shape horizontally.
java.lang.Exception
public boolean isFlipV()
public void setFlipV(boolean value) throws java.lang.Exception
value
- true to flip the shape vertically.
java.lang.Exception
public TextFrame getTextFrame()
TextFrame
object.public void addTextFrame(java.lang.String text) throws PptEditException
text
- Default text for a new TextFrame.
PptEditException
public Tags getTags()
Tags
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |