|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.AutoShape
com.aspose.slides.Connector
public final class Connector
Represents a Connector shape.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.aspose.slides.AutoShape |
---|
AutoShape.AutoShapePath |
Method Summary | |
---|---|
void |
connectBegin(Shape shape,
int connectionSite)
Connects or disconnects start of a connector. |
void |
connectEnd(Shape shape,
int connectionSite)
Connects or disconnects end of a connector. |
Shape |
getBeginConnectedShape()
Returns the first shape attached to a connector. |
int |
getBeginConnectionSite()
Returns the connection point on the first shape. |
int |
getConnectorType()
Returns the type of a connector. |
Shape |
getEndConnectedShape()
Returns the second shape attached to a connector. |
int |
getEndConnectionSite()
Returns the connection point on the second shape. |
void |
serialize(java.io.OutputStream stream)
Serializes a Connector to a stream. |
void |
setConnectorType(int value)
Sets the type of a connector. |
void |
validate()
Ensures that connector's start and end points lie on connection sites. |
Methods inherited from class com.aspose.slides.AutoShape |
---|
getAdjustments, getPaths, getShapeType, getTextRectangle |
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, isFlipH, isFlipV, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, 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 |
---|
public int getConnectorType()
ConnectorType
.
public void setConnectorType(int value)
value
- new type of a connector. See ConnectorType
.public Shape getBeginConnectedShape()
public Shape getEndConnectedShape()
public int getBeginConnectionSite()
public int getEndConnectionSite()
public void validate()
public void connectBegin(Shape shape, int connectionSite) throws PptEditException
shape
- first shape to attach to a connector or null to disconnect.connectionSite
- index of a connection site.
PptEditException
public void connectEnd(Shape shape, int connectionSite) throws PptEditException
shape
- second shape to attach to a connector or null to disconnect.connectionSite
- index of a connection site.
PptEditException
public void serialize(java.io.OutputStream stream) throws PptException
serialize
in class AutoShape
stream
- The stream to which the Shape is to be serialized.
PptException
- in case of serialization errors.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |