Connector

Overview

Connector is a class in Aspose.Slides FOSS for Java. Inherits from: GeometryShape, IConnector.

Represents a connector shape.

Properties

NameTypeAccessDescription
shapeStyleIShapeStyleReadReturns the shape style.
connectorLockIConnectorLockReadProvides the IConnectorLock of the connector
startShapeConnectedToIShapeReadProvides the IShape linked to the connector start
endShapeConnectedToIShapeReadProvides the IShape linked to the connector end
startShapeConnectionSiteIndexintReadProvides the start connection site index
endShapeConnectionSiteIndexintReadProvides the end connection site index
asIGeometryShapeIGeometryShapeReadProvides the connector as an IGeometryShape

Methods

SignatureDescription
Connector(xmlElement: Element, saveCallback: Runnable)Creates a Connector backed by the given XML element.
Connector()Creates a Connector with no backing element.
getShapeStyle()IShapeStyleReturns the shape style.
getConnectorLock()IConnectorLockReturns the IConnectorLock of the connector
getStartShapeConnectedTo()IShapeReturns the IShape connected to the start of the connector
setStartShapeConnectedTo(value: IShape)Sets the IShape connected to the start of the connector
getEndShapeConnectedTo()IShapeReturns the IShape connected to the end of the connector
setEndShapeConnectedTo(value: IShape)Sets the IShape connected to the end of the connector
getStartShapeConnectionSiteIndex()intReturns the connection site index at the start
setStartShapeConnectionSiteIndex(value: int)Sets the connection site index at the start
getEndShapeConnectionSiteIndex()intReturns the connection site index at the end
setEndShapeConnectionSiteIndex(value: int)Sets the connection site index at the end
getAsIGeometryShape()IGeometryShapeReturns the connector as an IGeometryShape
reroute()Recomputes the connector’s routing path

See Also