com.aspose.slides
Class AutoShape

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.AutoShape
All Implemented Interfaces:
IShape, IShapeFormat
Direct Known Subclasses:
Connector

public class AutoShape
extends Shape

Represents an AutoShape.


Nested Class Summary
static class AutoShape.AutoShapePath
          Represents a path used to draw an AutoShape.
 
Method Summary
 Adjustments getAdjustments()
          Returns adjustments values for the AutoShape.
 java.util.ArrayList getPaths()
          Returns ArrayList collection with AutoShapePath objects.
 int getShapeType()
          Returns the type of an AutoShape.
 java.awt.geom.Rectangle2D.Float getTextRectangle()
          Returns the coordinates of a text rectangle of an AutoShape.
 void serialize(java.io.OutputStream stream)
          Serializes an AutoShape to a stream.
 
Methods inherited from class com.aspose.slides.Shape
addLink, addTextFrame, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getHeight, getLineFormat, getLink, getMasterShapeId, getName, getParent, getPlaceholder, getProtection, getRotation, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isFlipHorizontal, isFlipVertical, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipHorizontal, setFlipVertical, setHeight, setHidden, setName, setProtection, setRotation, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serialize

public void serialize(java.io.OutputStream stream)
               throws PptException
Serializes an AutoShape to a stream.

Overrides:
serialize in class Shape
Parameters:
stream - The stream to which the AutoShape is to be serialized.
Throws:
PptException - in case of serialization errors.

getTextRectangle

public java.awt.geom.Rectangle2D.Float getTextRectangle()
Returns the coordinates of a text rectangle of an AutoShape.


getPaths

public java.util.ArrayList getPaths()
Returns ArrayList collection with AutoShapePath objects.


getShapeType

public int getShapeType()
Returns the type of an AutoShape. See AutoShapeType.


getAdjustments

public Adjustments getAdjustments()
Returns adjustments values for the AutoShape.