IConnector
All Implemented Interfaces: com.aspose.slides.IGeometryShape
public interface IConnector extends IGeometryShape
Represents a connector.
Methods
Method | Description |
---|---|
getShapeLock() | Returns shape’s locks. |
getConnectorLock() | Returns Connector’s locks. |
getStartShapeConnectedTo() | Returns or sets the shape to attach the beginning of the connector to. |
setStartShapeConnectedTo(IShape value) | Returns or sets the shape to attach the beginning of the connector to. |
getEndShapeConnectedTo() | Returns or sets the shape to attach the end of the connector to. |
setEndShapeConnectedTo(IShape value) | Returns or sets the shape to attach the end of the connector to. |
getStartShapeConnectionSiteIndex() | Returns or sets the index of connection site for start shape. |
setStartShapeConnectionSiteIndex(long value) | Returns or sets the index of connection site for start shape. |
getEndShapeConnectionSiteIndex() | Returns or sets the index of connection site for end shape. |
setEndShapeConnectionSiteIndex(long value) | Returns or sets the index of connection site for end shape. |
reroute() | Reroutes connector so that it take the shortest possible path between the shapes it connect. |
getShapeLock()
public abstract IConnectorLock getShapeLock()
Returns shape’s locks. Read-only IConnectorLock.
Returns: IConnectorLock
getConnectorLock()
public abstract IConnectorLock getConnectorLock()
Returns Connector’s locks. Read-only IConnectorLock.
Returns: IConnectorLock
getStartShapeConnectedTo()
public abstract IShape getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.
Returns: IShape
setStartShapeConnectedTo(IShape value)
public abstract void setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to. Read/write IShape.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IShape |
getEndShapeConnectedTo()
public abstract IShape getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to. Read/write IShape.
Returns: IShape
setEndShapeConnectedTo(IShape value)
public abstract void setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to. Read/write IShape.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IShape |
getStartShapeConnectionSiteIndex()
public abstract long getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape. Read/write long.
Returns: long
setStartShapeConnectionSiteIndex(long value)
public abstract void setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape. Read/write long.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
getEndShapeConnectionSiteIndex()
public abstract long getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape. Read/write long.
Returns: long
setEndShapeConnectionSiteIndex(long value)
public abstract void setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape. Read/write long.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
reroute()
public abstract void reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.