Connector
Overview
Connector is a class in Aspose.Slides FOSS for Java.
Inherits from: GeometryShape, IConnector.
Represents a connector shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
shapeStyle | IShapeStyle | Read | Returns the shape style. |
connectorLock | IConnectorLock | Read | Provides the IConnectorLock of the connector |
startShapeConnectedTo | IShape | Read | Provides the IShape linked to the connector start |
endShapeConnectedTo | IShape | Read | Provides the IShape linked to the connector end |
startShapeConnectionSiteIndex | int | Read | Provides the start connection site index |
endShapeConnectionSiteIndex | int | Read | Provides the end connection site index |
asIGeometryShape | IGeometryShape | Read | Provides the connector as an IGeometryShape |
Methods
| Signature | Description |
|---|---|
Connector(xmlElement: Element, saveCallback: Runnable) | Creates a Connector backed by the given XML element. |
Connector() | Creates a Connector with no backing element. |
getShapeStyle() → IShapeStyle | Returns the shape style. |
getConnectorLock() → IConnectorLock | Returns the IConnectorLock of the connector |
getStartShapeConnectedTo() → IShape | Returns the IShape connected to the start of the connector |
setStartShapeConnectedTo(value: IShape) | Sets the IShape connected to the start of the connector |
getEndShapeConnectedTo() → IShape | Returns the IShape connected to the end of the connector |
setEndShapeConnectedTo(value: IShape) | Sets the IShape connected to the end of the connector |
getStartShapeConnectionSiteIndex() → int | Returns the connection site index at the start |
setStartShapeConnectionSiteIndex(value: int) | Sets the connection site index at the start |
getEndShapeConnectionSiteIndex() → int | Returns the connection site index at the end |
setEndShapeConnectionSiteIndex(value: int) | Sets the connection site index at the end |
getAsIGeometryShape() → IGeometryShape | Returns the connector as an IGeometryShape |
reroute() | Recomputes the connector’s routing path |