IShape
Overview
IShape is a interface in Aspose.Slides FOSS for Java.
Inherits from: ISlideComponent, IPresentationComponent, IHyperlinkContainer.
Represents a shape on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
textHolder | boolean | Read | Determines whether the shape is a text holder. |
placeholder | IPlaceholder | Read | Returns the placeholder for this shape. |
customData | ICustomData | Read | Returns the shape’s custom data. |
rawFrame | IShapeFrame | Read | Returns the raw shape frame’s properties. |
frame | IShapeFrame | Read | Returns the shape frame’s properties. |
lineFormat | ILineFormat | Read | Returns the line format for this shape. |
threeDFormat | IThreeDFormat | Read | Returns the 3-D format for this shape. |
effectFormat | IEffectFormat | Read | Returns the effect format for this shape. |
fillFormat | IFillFormat | Read | Returns the fill format for this shape. |
hidden | boolean | Read | Determines whether the shape is hidden. |
zOrderPosition | int | Read | Returns the position of a shape in the z-order. |
connectionSiteCount | int | Read | Returns the number of connection sites on the shape. |
rotation | double | Read | Returns the rotation angle of the shape in degrees. |
x | double | Read | Gets the x-coordinate of the upper-left corner of the shape, in points. |
y | double | Read | Gets the y-coordinate of the upper-left corner of the shape, in points. |
width | double | Read | Gets the width of the shape, in points. |
height | double | Read | Gets the height of the shape, in points. |
alternativeText | String | Read | Returns or sets the alternative text associated with a shape. |
alternativeTextTitle | String | Read | Returns or sets the title of alternative text associated with a shape. |
name | String | Read | Returns or sets the name of a shape. |
decorative | boolean | Read | Gets or sets the ‘Mark as decorative’ option. |
uniqueId | int | Read | Returns an internal, presentation-scoped identifier. |
officeInteropShapeId | int | Read | Returns a slide-scoped unique identifier that remains constant |
| for the lifetime of the shape. | |||
grouped | boolean | Read | Determines whether the shape is grouped. |
asISlideComponent | ISlideComponent | Read | Allows to get base {@link ISlideComponent} interface. |
shapeType | ShapeType | Read | Gets the AutoShape type. |
cNvPr | Element | Read | Returns the {@code cNvPr} element for this shape, or {@code null}. |
Methods
| Signature | Description |
|---|---|
isTextHolder() → boolean | Determines whether the shape is a text holder. |
getPlaceholder() → IPlaceholder | Returns the placeholder for this shape. |
getCustomData() → ICustomData | Returns the shape’s custom data. |
getRawFrame() → IShapeFrame | Returns the raw shape frame’s properties. |
setRawFrame(value: IShapeFrame) | Sets the raw shape frame’s properties. |
getFrame() → IShapeFrame | Returns the shape frame’s properties. |
setFrame(value: IShapeFrame) | Sets the shape frame’s properties. |
getLineFormat() → ILineFormat | Returns the line format for this shape. |
getThreeDFormat() → IThreeDFormat | Returns the 3-D format for this shape. |
getEffectFormat() → IEffectFormat | Returns the effect format for this shape. |
getFillFormat() → IFillFormat | Returns the fill format for this shape. |
isHidden() → boolean | Determines whether the shape is hidden. |
setHidden(value: boolean) | Sets whether the shape is hidden. |
getZOrderPosition() → int | Returns the position of a shape in the z-order. |
getConnectionSiteCount() → int | Returns the number of connection sites on the shape. |
getRotation() → double | Returns the rotation angle of the shape in degrees. |
setRotation(rotation: double) | Sets the rotation angle of the shape in degrees. |
getX() → double | Gets the x-coordinate of the upper-left corner of the shape, in points. |
setX(x: double) | Sets the x-coordinate of the upper-left corner of the shape, in points. |
getY() → double | Gets the y-coordinate of the upper-left corner of the shape, in points. |
setY(y: double) | Sets the y-coordinate of the upper-left corner of the shape, in points. |
getWidth() → double | Gets the width of the shape, in points. |
setWidth(width: double) | Sets the width of the shape, in points. |
getHeight() → double | Gets the height of the shape, in points. |
setHeight(height: double) | Sets the height of the shape, in points. |
getAlternativeText() → String | Returns or sets the alternative text associated with a shape. |
setAlternativeText(value: String) | Sets the alternative text associated with a shape. |
getAlternativeTextTitle() → String | Returns or sets the title of alternative text associated with a shape. |
setAlternativeTextTitle(value: String) | Sets the title of alternative text associated with a shape. |
getName() → String | Returns or sets the name of a shape. |
setName(value: String) | Sets the name of a shape. |
isDecorative() → boolean | Gets or sets the ‘Mark as decorative’ option. |
setDecorative(value: boolean) | Sets the ‘Mark as decorative’ option. |
getUniqueId() → int | Returns an internal, presentation-scoped identifier. |
getOfficeInteropShapeId() → int | Returns a slide-scoped unique identifier that remains constant |
| for the lifetime of the shape. | |
isGrouped() → boolean | Determines whether the shape is grouped. |
getAsISlideComponent() → ISlideComponent | Allows to get base {@link ISlideComponent} interface. |
getShapeType() → ShapeType | Gets the AutoShape type. |
getCNvPr() → Element | Returns the {@code cNvPr} element for this shape, or {@code null}. |