com.aspose.slides
Class AutoShape

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GeometryShape
          extended by com.aspose.slides.AutoShape
All Implemented Interfaces:
IAutoShape, IGeometryShape, IHyperlinkContainer, IPresentationComponent, IShape, ISlideComponent

public class AutoShape
extends GeometryShape
implements IAutoShape

Represents an AutoShape.


Method Summary
 ITextFrame addTextFrame(java.lang.String text)
           Adds a new TextFrame to a shape.
 IAutoShapeLock getShapeLock()
           Returns shape's locks.
 ITextFrame getTextFrame()
           Returns TextFrame object for the AutoShape.
 boolean getUseBackgroundFill()
           Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
 void setUseBackgroundFill(boolean value)
           
 
Methods inherited from class com.aspose.slides.GeometryShape
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IGeometryShape
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.slides.IHyperlinkContainer
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
 

Method Detail

getShapeLock

public IAutoShapeLock getShapeLock()

Returns shape's locks. Read-only AutoShapeLock.

Specified by:
getShapeLock in interface IAutoShape
Specified by:
getShapeLock in interface IShape
Overrides:
getShapeLock in class Shape

getTextFrame

public ITextFrame getTextFrame()

Returns TextFrame object for the AutoShape. Read-only TextFrame.

Specified by:
getTextFrame in interface IAutoShape

getUseBackgroundFill

public boolean getUseBackgroundFill()

Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format. Read/write bool.

Specified by:
getUseBackgroundFill in interface IAutoShape

setUseBackgroundFill

public void setUseBackgroundFill(boolean value)
Specified by:
setUseBackgroundFill in interface IAutoShape

addTextFrame

public ITextFrame addTextFrame(java.lang.String text)

Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.

Specified by:
addTextFrame in interface IAutoShape
Parameters:
text - Default text for a new TextFrame.