IShape — Aspose.Slides FOSS Java API Reference
IShape — Represents a shape on a slide.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
textHolder | boolean | Read/Write | |
placeholder | IPlaceholder | Read/Write | |
customData | ICustomData | Read/Write | |
rawFrame | IShapeFrame | Read/Write | |
frame | IShapeFrame | Read/Write | |
lineFormat | ILineFormat | Read/Write | |
threeDFormat | IThreeDFormat | Read/Write | |
effectFormat | IEffectFormat | Read/Write | |
fillFormat | IFillFormat | Read/Write | |
hidden | boolean | Read/Write | |
zOrderPosition | int | Read/Write | |
connectionSiteCount | int | Read/Write | |
rotation | double | Read/Write | |
x | double | Read/Write | |
y | double | Read/Write | |
width | double | Read/Write | |
height | double | Read/Write | |
alternativeText | String | Read/Write | |
alternativeTextTitle | String | Read/Write | |
name | String | Read/Write | |
decorative | boolean | Read/Write | |
uniqueId | int | Read/Write | |
officeInteropShapeId | int | Read/Write | |
grouped | boolean | Read/Write | |
asISlideComponent | ISlideComponent | Read/Write | |
shapeType | ShapeType | Read/Write | |
cNvPr | Element | Read/Write |
Methods
| Method | Returns | 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(IShapeFrame value) | void | Sets the raw shape frame’s properties. |
getFrame() | IShapeFrame | Returns the shape frame’s properties. |
setFrame(IShapeFrame value) | void | 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(boolean value) | void | 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(double rotation) | void | 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(double x) | void | 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(double y) | void | 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(double width) | void | Sets the width of the shape, in points. |
getHeight() | double | Gets the height of the shape, in points. |
setHeight(double height) | void | Sets the height of the shape, in points. |
getAlternativeText() | String | Returns or sets the alternative text associated with a shape. |
setAlternativeText(String value) | void | Sets the alternative text associated with a shape. |
getAlternativeTextTitle() | String | Returns or sets the title of alternative text associated with a shape. |
setAlternativeTextTitle(String value) | void | Sets the title of alternative text associated with a shape. |
getName() | String | Returns or sets the name of a shape. |
setName(String value) | void | Sets the name of a shape. |
isDecorative() | boolean | Gets or sets the ‘Mark as decorative’ option. |
setDecorative(boolean value) | void | 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 ISlideComponent interface. |
getShapeType() | ShapeType | Gets the AutoShape type. |
getCNvPr() | Element | Returns the cNvPr element for this shape, or null. |