IShape — Aspose.Slides FOSS Java API Reference

IShape — Represents a shape on a slide.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
textHolderbooleanRead/Write
placeholderIPlaceholderRead/Write
customDataICustomDataRead/Write
rawFrameIShapeFrameRead/Write
frameIShapeFrameRead/Write
lineFormatILineFormatRead/Write
threeDFormatIThreeDFormatRead/Write
effectFormatIEffectFormatRead/Write
fillFormatIFillFormatRead/Write
hiddenbooleanRead/Write
zOrderPositionintRead/Write
connectionSiteCountintRead/Write
rotationdoubleRead/Write
xdoubleRead/Write
ydoubleRead/Write
widthdoubleRead/Write
heightdoubleRead/Write
alternativeTextStringRead/Write
alternativeTextTitleStringRead/Write
nameStringRead/Write
decorativebooleanRead/Write
uniqueIdintRead/Write
officeInteropShapeIdintRead/Write
groupedbooleanRead/Write
asISlideComponentISlideComponentRead/Write
shapeTypeShapeTypeRead/Write
cNvPrElementRead/Write

Methods

MethodReturnsDescription
isTextHolder()booleanDetermines whether the shape is a text holder.
getPlaceholder()IPlaceholderReturns the placeholder for this shape.
getCustomData()ICustomDataReturns the shape’s custom data.
getRawFrame()IShapeFrameReturns the raw shape frame’s properties.
setRawFrame(IShapeFrame value)voidSets the raw shape frame’s properties.
getFrame()IShapeFrameReturns the shape frame’s properties.
setFrame(IShapeFrame value)voidSets the shape frame’s properties.
getLineFormat()ILineFormatReturns the line format for this shape.
getThreeDFormat()IThreeDFormatReturns the 3-D format for this shape.
getEffectFormat()IEffectFormatReturns the effect format for this shape.
getFillFormat()IFillFormatReturns the fill format for this shape.
isHidden()booleanDetermines whether the shape is hidden.
setHidden(boolean value)voidSets whether the shape is hidden.
getZOrderPosition()intReturns the position of a shape in the z-order.
getConnectionSiteCount()intReturns the number of connection sites on the shape.
getRotation()doubleReturns the rotation angle of the shape in degrees.
setRotation(double rotation)voidSets the rotation angle of the shape in degrees.
getX()doubleGets the x-coordinate of the upper-left corner of the shape, in points.
setX(double x)voidSets the x-coordinate of the upper-left corner of the shape, in points.
getY()doubleGets the y-coordinate of the upper-left corner of the shape, in points.
setY(double y)voidSets the y-coordinate of the upper-left corner of the shape, in points.
getWidth()doubleGets the width of the shape, in points.
setWidth(double width)voidSets the width of the shape, in points.
getHeight()doubleGets the height of the shape, in points.
setHeight(double height)voidSets the height of the shape, in points.
getAlternativeText()StringReturns or sets the alternative text associated with a shape.
setAlternativeText(String value)voidSets the alternative text associated with a shape.
getAlternativeTextTitle()StringReturns or sets the title of alternative text associated with a shape.
setAlternativeTextTitle(String value)voidSets the title of alternative text associated with a shape.
getName()StringReturns or sets the name of a shape.
setName(String value)voidSets the name of a shape.
isDecorative()booleanGets or sets the ‘Mark as decorative’ option.
setDecorative(boolean value)voidSets the ‘Mark as decorative’ option.
getUniqueId()intReturns an internal, presentation-scoped identifier.
getOfficeInteropShapeId()intReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape.
isGrouped()booleanDetermines whether the shape is grouped.
getAsISlideComponent()ISlideComponentAllows to get base ISlideComponent interface.
getShapeType()ShapeTypeGets the AutoShape type.
getCNvPr()ElementReturns the cNvPr element for this shape, or null.

See Also