public abstract class PresentationBaseShape extends ShapeSearchAdapter implements ITwoDObject, IPresentationHyperlinkContainer
Provides the abstract base class for shapes of all types in a PowerPoint document.
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeText()
Gets the descriptive (alternative) text associated with
this
PresentationBaseShape . |
double |
getHeight()
Gets the height of this
PresentationBaseShape in points. |
String |
getHyperlink(int actionType)
Gets the hyperlink associated with this
PresentationBaseShape . |
long |
getId()
Gets the identifier of this
PresentationBaseShape . |
PresentationImageFillFormat |
getImageFillFormat()
Gets the image fill format settings of this
PresentationBaseShape . |
String |
getName()
Gets the name of this
PresentationBaseShape . |
PresentationBaseSlide |
getPresentation()
Gets the parent presentation of this
PresentationBaseShape . |
double |
getWidth()
Gets the width of this
PresentationBaseShape in points. |
double |
getX()
Gets the horizontal offset of this
PresentationBaseShape
from presentation left border in points. |
double |
getY()
Gets the vertical offset of this
PresentationBaseShape from
presentation top border in points. |
int |
getZOrderPosition()
Gets the position of this
PresentationBaseShape in the z-order. |
void |
setAlternativeText(String value)
Sets the descriptive (alternative) text associated with
this
PresentationBaseShape . |
void |
setHeight(double value)
Sets the height of this
PresentationBaseShape in points. |
void |
setHyperlink(int actionType,
String url)
Sets the hyperlink associated with this
PresentationBaseShape . |
void |
setWidth(double value)
Sets the width of this
PresentationBaseShape in points. |
void |
setX(double value)
Sets the horizontal offset of this
PresentationBaseShape
from presentation left border in points. |
void |
setY(double value)
Sets the vertical offset of this
PresentationBaseShape from
presentation top border in points. |
public final PresentationBaseSlide getPresentation()
Gets the parent presentation of this PresentationBaseShape
.
PresentationBaseShape
.public final PresentationImageFillFormat getImageFillFormat()
Gets the image fill format settings of this PresentationBaseShape
.
PresentationBaseShape
.public final String getName()
Gets the name of this PresentationBaseShape
.
PresentationBaseShape
.public final String getAlternativeText()
Gets the descriptive (alternative) text associated with
this PresentationBaseShape
.
PresentationBaseShape
.public final void setAlternativeText(String value)
Sets the descriptive (alternative) text associated with
this PresentationBaseShape
.
value
- The descriptive (alternative) text associated with
this PresentationBaseShape
.public final long getId()
Gets the identifier of this PresentationBaseShape
.
PresentationBaseShape
.public final int getZOrderPosition()
Gets the position of this PresentationBaseShape
in the z-order.
PresentationBaseShape
in the z-order.
A shape with greater z-order is always in front of a shape with a lower z-order.public final String getHyperlink(int actionType)
Gets the hyperlink associated with this PresentationBaseShape
.
getHyperlink
in interface IPresentationHyperlinkContainer
actionType
- The action that activates the hyperlink.public final void setHyperlink(int actionType, String url)
Sets the hyperlink associated with this PresentationBaseShape
.
setHyperlink
in interface IPresentationHyperlinkContainer
actionType
- The action that activates the hyperlink.url
- The hyperlink url.public final double getX()
Gets the horizontal offset of this PresentationBaseShape
from presentation left border in points.
getX
in interface ITwoDObject
PresentationBaseShape
.public final void setX(double value)
Sets the horizontal offset of this PresentationBaseShape
from presentation left border in points.
value
- The x-coordinate of this PresentationBaseShape
.public final double getY()
Gets the vertical offset of this PresentationBaseShape
from
presentation top border in points.
getY
in interface ITwoDObject
PresentationBaseShape
.public final void setY(double value)
Sets the vertical offset of this PresentationBaseShape
from
presentation top border in points.
value
- The y-coordinate of this PresentationBaseShape
.public final double getWidth()
Gets the width of this PresentationBaseShape
in points.
getWidth
in interface ITwoDObject
PresentationBaseShape
in points.public final void setWidth(double value)
Sets the width of this PresentationBaseShape
in points.
value
- The width of this PresentationBaseShape
in points.public final double getHeight()
Gets the height of this PresentationBaseShape
in points.
getHeight
in interface ITwoDObject
PresentationBaseShape
in points.public final void setHeight(double value)
Sets the height of this PresentationBaseShape
in points.
value
- The height of this PresentationBaseShape
in points.Copyright © 2020. All rights reserved.