![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.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. |
Slide |
getParent()
Returns the parent slide. |
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 |
isTextHolder()
Returns true if shape is a TextHolder. |
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 |
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 LineFormat getLineFormat()
public FillFormat getFillFormat()
public AnimationSettings getAnimationSettings()
public Link getLink()
public Link addLink()
public void clearLink()
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 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 java.lang.Exception
text
- Default text for a new TextFrame.
java.io.IOException
java.lang.Exception
public Tags getTags()
Tags
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |