com.aspose.slides
Class AutoShape
java.lang.Object
com.aspose.slides.Shape
com.aspose.slides.AutoShape
- All Implemented Interfaces:
- IShape, IShapeFormat
- Direct Known Subclasses:
- Connector
public class AutoShape
- extends Shape
Represents the AutoShape shape.
Fields inherited from class com.aspose.slides.Shape |
defaultConnectionPoints, emptyConnectionPoints, emptyShape, m_anchor, m_animationSettings, m_fillFormat, m_frame, m_lineFormat, m_link, m_nFSTVersion, m_options, m_parent, m_shadowFormat, m_shapesParent, m_tags, m_TextFrame, m_version |
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. |
protected boolean |
getValid()
|
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, getAnchor, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFrame, getgeoBottom, getgeoRight, getHeight, getLineFormat, getLink, getMasterShapeId, getName, getOptions, getParent, getPlaceholder, getRotation, getRotation0_360, 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, shouldDraw, zOrder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
adjustValues
protected int[] adjustValues
AutoShape
protected AutoShape(Slide parent)
AutoShape
protected AutoShape(Slide parent,
EsSpContainer frame)
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.
getValid
protected boolean getValid()
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