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
. |
PresentationWatermarkableImage |
getImage()
Gets the image of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
int |
getShapeType()
Gets the shape geometry preset type.
|
String |
getText()
Gets the text of this
. |
void |
setImage(PresentationWatermarkableImage value)
Sets the image of this
. |
void |
setRotateAngle(double value)
Sets the rotate angle of this
in degrees. |
void |
setText(String value)
Sets the text of this
. |
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()
PresentationShape
in degrees.getRotateAngle
in interface IRotatableTwoDObject
PresentationShape
in degrees.public final void setRotateAngle(double value)
PresentationShape
in degrees.value
- The rotate angle of this PresentationShape
in degrees.public final String getText()
PresentationShape
.PresentationShape
.public final void setText(String value)
PresentationShape
.value
- The text of this PresentationShape
.public final FormattedTextFragmentCollection getFormattedTextFragments()
PresentationShape
.PresentationShape
.public final int getShapeType()
Gets the shape geometry preset type.
public final PresentationWatermarkableImage getImage()
PresentationShape
.PresentationShape
or null if the shape has no image.public final void setImage(PresentationWatermarkableImage value)
PresentationShape
.value
- The image of this PresentationShape
or null if the image should be removed.