public class PresentationShape extends PresentationBaseShape implements IRotatableTwoDObject
Represents a drawing shape in a PowerPoint document.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
PresentationShape . |
PresentationWatermarkableImage |
getImage()
Gets the image of this
PresentationShape . |
double |
getRotateAngle()
Gets the rotate angle of this
PresentationShape in degrees. |
int |
getShapeType()
Gets the shape geometry preset type.
|
String |
getText()
Gets the text of this
PresentationShape . |
void |
setImage(PresentationWatermarkableImage value)
Sets the image of this
PresentationShape . |
void |
setRotateAngle(double value)
Sets the rotate angle of this
PresentationShape in degrees. |
void |
setText(String value)
Sets the text of this
PresentationShape . |
getAlternativeText, getHeight, getHyperlink, getId, getImageFillFormat, getName, getPresentation, getWidth, getX, getY, getZOrderPosition, setAlternativeText, setHeight, setHyperlink, setWidth, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeight, getWidth, getX, getY
public final double getRotateAngle()
Gets the rotate angle of this PresentationShape
in degrees.
getRotateAngle
in interface IRotatableTwoDObject
PresentationShape
in degrees.public final void setRotateAngle(double value)
Sets the rotate angle of this PresentationShape
in degrees.
value
- The rotate angle of this PresentationShape
in degrees.public final String getText()
Gets the text of this PresentationShape
.
PresentationShape
.public final void setText(String value)
Sets the text of this PresentationShape
.
value
- The text of this PresentationShape
.public final FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this PresentationShape
.
PresentationShape
.public final int getShapeType()
Gets the shape geometry preset type.
public final PresentationWatermarkableImage getImage()
Gets the image of this PresentationShape
.
PresentationShape
.
Returns null if the shape has no image.public final void setImage(PresentationWatermarkableImage value)
Sets the image of this PresentationShape
.
value
- The image of this PresentationShape
.
Returns null if the shape has no image.Copyright © 2020. All rights reserved.