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 the AutoShape shape.


Nested Class Summary
static class AutoShape.AutoShapePath
           
 
Method Summary
 Adjustments getAdjustments()
          Returns adjustments values for the AutoShape.
 int getShapeType()
          Returns type of an AutoShape.
 java.awt.geom.Rectangle2D.Float getTextRectangle()
          Returns the coordinates of a text rectlangle of an AutoShape.
 void serialize(java.io.OutputStream stream)
          Serializes an AutoShape object to the 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, getRotation, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isFlipH, isFlipV, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setHidden, setName, 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 object to the stream.

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

getTextRectangle

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

Returns:
the coordinates of a text rectlangle.

getShapeType

public int getShapeType()
Returns type of an AutoShape.

Returns:
The autoshape type. See AutoShapeType.

getAdjustments

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

Returns:
The array of adjustment values