|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.presentation.PptObject
com.spire.presentation.Shape
public class Shape
Represents a shape on a slide.
| Constructor Summary | |
|---|---|
Shape()
|
|
Shape(ActiveSlide parent)
|
|
Shape(ActiveSlide parent,
PptxBaseXmlElement elem)
|
|
Shape(ShapeCollection parent)
|
|
Shape(ShapeCollection parent,
Container esc,
ActiveSlide.Ppt2003Slide ppt)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlternativeText()
Gets the alternative text associated with a shape. |
java.lang.String |
getAlternativeTitle()
Gets the alternative title associated with a shape. |
ClickHyperlink |
getClick()
Gets the hyperlink defined for mouse click. |
boolean |
getDrawIndicatedShape()
|
EffectDag |
getEffectDag()
Gets the EffectDag object which contains pixel effects applied to a shape. |
FillFormat |
getFill()
Gets the FillFormat object that contains fill formatting properties for a shape. |
GraphicFrame |
getFrame()
Gets the shape frame's properties. |
float |
getHeight()
Gets the height of the shape. |
float |
getLeft()
Gets the x-coordinate of the upper-left corner of the shape. |
TextLineFormat |
getLine()
Gets the LineFormat object that contains line formatting properties for a shape. |
ClickHyperlink |
getMouseOver()
Gets he hyperlink defined for mouse over. |
java.lang.String |
getName()
Gets the name of a shape. |
ActiveSlide |
getParent()
Gets the parent slide of a shape. |
PlaceholderEx |
getPlaceholder()
Gets the placeholder for a shape. |
Presentation |
getPresentation()
Returns the parent presentation of a slide. |
float |
getRotation()
Gets the number of degrees the specified shape is rotated around the z-axis. |
ActiveSlide |
getSlide()
Gets the parent slide of a shape. |
TagCollection |
getTagsList()
Gets the shape's tags collection. |
FormatThreeD |
getThreeD()
Gets the FormatThreeD object that 3d effect properties for a shape. |
float |
getTop()
Gets the y-coordinate of the upper-left corner of the shape. |
float |
getWidth()
Gets he width of the shape. |
int |
getZOrderPosition()
Gets the position of a shape in the z-order. |
boolean |
isHidden()
Indicates whether the shape is hidden. |
void |
isHidden(boolean value)
|
boolean |
isTextBox()
Indicates whether the shape is TextHolder. |
void |
removePlaceholder()
Removes placeholder from the shape. |
void |
setAlternativeText(java.lang.String value)
Sets the alternative text associated with a shape. |
void |
setAlternativeTitle(java.lang.String value)
Sets the alternative title associated with a shape. |
void |
setClick(ClickHyperlink value)
Sets the hyperlink defined for mouse click. |
void |
setDrawIndicatedShape(boolean value)
|
void |
setFrame(GraphicFrame value)
Sets the shape frame's properties. |
void |
setHeight(float value)
Sets the height of the shape. |
void |
setLeft(double value)
Sets the x-coordinate of the upper-left corner of the shape. |
void |
setMouseOver(ClickHyperlink value)
Sets he hyperlink defined for mouse over. |
void |
setName(java.lang.String value)
Sets the name of a shape. |
void |
setRotation(float value)
Sets the number of degrees the specified shape is rotated around the z-axis. |
void |
setShapeAlignment(ShapeAlignmentEnum.ShapeAlignment shapeAlignment)
Sets the alignment with a shape. |
void |
setShapeArrange(ShapeAlignmentEnum.ShapeArrange shapeArrange)
Sets the arrangement with a shape. |
void |
setTop(double value)
Sets the y-coordinate of the upper-left corner of the shape. |
void |
setWidth(float value)
Sets the width of the shape. |
| Methods inherited from class com.spire.presentation.PptObject |
|---|
checkDisposed |
| Methods inherited from interface com.spire.presentation.IShape |
|---|
dispose, insertChart, insertPicture, insertSmartArt, insertTable, insertVideo |
| Constructor Detail |
|---|
public Shape(ShapeCollection parent)
public Shape()
public Shape(ActiveSlide parent)
public Shape(ActiveSlide parent,
PptxBaseXmlElement elem)
public Shape(ShapeCollection parent,
Container esc,
ActiveSlide.Ppt2003Slide ppt)
| Method Detail |
|---|
public boolean isTextBox()
IShape
isTextBox in interface IShapepublic PlaceholderEx getPlaceholder()
getPlaceholder in interface IShapepublic void removePlaceholder()
removePlaceholder in interface IShapepublic TagCollection getTagsList()
getTagsList in interface IShapepublic boolean getDrawIndicatedShape()
public void setDrawIndicatedShape(boolean value)
public GraphicFrame getFrame()
getFrame in interface IShapepublic void setFrame(GraphicFrame value)
setFrame in interface IShapepublic TextLineFormat getLine()
getLine in interface IShapepublic FormatThreeD getThreeD()
getThreeD in interface IShapepublic EffectDag getEffectDag()
getEffectDag in interface IShapepublic FillFormat getFill()
getFill in interface IShapepublic ClickHyperlink getClick()
getClick in interface IShapepublic void setClick(ClickHyperlink value)
setClick in interface IShapepublic ClickHyperlink getMouseOver()
getMouseOver in interface IShapepublic void setMouseOver(ClickHyperlink value)
setMouseOver in interface IShapepublic boolean isHidden()
isHidden in interface IShapepublic void isHidden(boolean value)
isHidden in interface IShapepublic ActiveSlide getParent()
getParent in interface IShapegetParent in class PptObjectpublic int getZOrderPosition()
getZOrderPosition in interface IShapepublic float getRotation()
getRotation in interface IShapepublic void setRotation(float value)
setRotation in interface IShapepublic float getLeft()
getLeft in interface IShapepublic void setLeft(double value)
setLeft in interface IShapepublic float getTop()
getTop in interface IShapepublic void setTop(double value)
setTop in interface IShapepublic float getWidth()
getWidth in interface IShapepublic void setWidth(float value)
setWidth in interface IShapepublic float getHeight()
getHeight in interface IShapepublic void setHeight(float value)
setHeight in interface IShapepublic void setShapeAlignment(ShapeAlignmentEnum.ShapeAlignment shapeAlignment)
setShapeAlignment in interface IShapepublic void setShapeArrange(ShapeAlignmentEnum.ShapeArrange shapeArrange)
setShapeArrange in interface IShapepublic java.lang.String getAlternativeText()
getAlternativeText in interface IShapepublic void setAlternativeText(java.lang.String value)
setAlternativeText in interface IShapepublic java.lang.String getAlternativeTitle()
getAlternativeTitle in interface IShapepublic void setAlternativeTitle(java.lang.String value)
setAlternativeTitle in interface IShapepublic java.lang.String getName()
getName in interface IShapepublic void setName(java.lang.String value)
setName in interface IShapepublic ActiveSlide getSlide()
getSlide in interface IShapegetSlide in interface ISlideComponentpublic Presentation getPresentation()
getPresentation in interface IActivePresentationgetPresentation in interface IShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||