|
||||||||
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 autoshape.
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 begin of the connector. |
void |
connectEnd(Shape shape,
int connectionSite)
Connects or disconnects end of the connector. |
Shape |
getBeginConnectedShape()
Returns the shape which is the first connection for a connector. |
int |
getBeginConnectionSite()
Returns the connection point on the BeginConnectedShape. |
int |
getConnectorType()
Returns connector's type. |
Shape |
getEndConnectedShape()
Returns the shape which is the second connection for a connector. |
int |
getEndConnectionSite()
Returns the connection point on the EndConnectedShape. |
void |
serialize(java.io.OutputStream stream)
Serializes a Connector object to the stream. |
void |
setConnectorType(int value)
Sets connector's type. |
void |
validate()
Ensures connector's begin and end points lie on connection sites. |
Methods inherited from class com.aspose.slides.AutoShape |
---|
getAdjustments, 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, 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 |
---|
public int getConnectorType()
ConnectorType
.public void setConnectorType(int value)
value
- the connector's type. See ConnectorType
.public Shape getBeginConnectedShape()
Shape
.public Shape getEndConnectedShape()
Shape
.public int getBeginConnectionSite()
public int getEndConnectionSite()
public void validate()
public void connectBegin(Shape shape, int connectionSite) throws PptEditException
shape
- a shape to which to connect or null to disconnect.connectionSite
- an index of a connection site.
PptEditException
public void connectEnd(Shape shape, int connectionSite) throws PptEditException
shape
- a shape to which to connect or null to disconnect.connectionSite
- an 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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |