|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnector
Represents a connector.
Method Summary | |
---|---|
IConnectorLock |
getConnectorLock()
Returns shape's locks. |
IShape |
getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to. |
long |
getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape. |
IShape |
getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to. |
long |
getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape. |
void |
reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect. |
void |
setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to. |
void |
setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape. |
void |
setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to. |
void |
setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape. |
Methods inherited from interface com.aspose.slides.IGeometryShape |
---|
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Methods inherited from interface com.aspose.slides.IHyperlinkContainer |
---|
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver |
Method Detail |
---|
IConnectorLock getConnectorLock()
Returns shape's locks.
Read-only IConnectorLock
.
IShape getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)
void setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)
IShape getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)
void setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)
long getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount
void setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCount
long getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount
void setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
Read/write long
.
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCount
void reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |