Connector

Overview

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

Represents a connector shape.

This class provides 60 methods for working with Connector objects in Java programs. Available methods include: Connector, GeometryShape, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getConnectorLock, getCustomData, and 47 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: adjustments, alternativeText, alternativeTextTitle, asIGeometryShape, asISlideComponent, cNvPr, and 31 more.

Properties

NameTypeAccessDescription
shapeStyleIShapeStyleReadReturns the shape style.
connectorLockIConnectorLockReadGets the connector lock.
startShapeConnectedToIShapeReadGets the start shape connected to.
endShapeConnectedToIShapeReadGets the end shape connected to.
startShapeConnectionSiteIndexintReadGets the start shape connection site index.
endShapeConnectionSiteIndexintReadGets the end shape connection site index.
asIGeometryShapeIGeometryShapeReadGets the as i geometry shape.
xdoubleReadGets the x.
ydoubleReadGets the y.
widthdoubleReadGets the width.
heightdoubleReadGets the height.
rotationdoubleReadGets the rotation.
shapeTypeShapeTypeReadGets the shape type.
fillFormatIFillFormatReadGets the fill format.
adjustmentsIAdjustValueCollectionReadGets the adjustments.
cNvPrElementReadGets the c nv pr.
textHolderbooleanReadGets the text holder.
placeholderIPlaceholderReadGets the placeholder.
customDataICustomDataReadGets the custom data.
rawFrameIShapeFrameReadGets the raw frame.
frameIShapeFrameReadGets the frame.
lineFormatILineFormatReadGets the line format.
threeDFormatIThreeDFormatReadGets the three d format.
effectFormatIEffectFormatReadGets the effect format.
hiddenbooleanReadGets the hidden.
zOrderPositionintReadGets the z order position.
connectionSiteCountintReadGets the connection site count.
alternativeTextStringReadGets the alternative text.
alternativeTextTitleStringReadGets the alternative text title.
nameStringReadGets the name.
decorativebooleanReadGets the decorative.
uniqueIdintReadGets the unique id.
officeInteropShapeIdintReadGets the office interop shape id.
groupedbooleanReadGets the grouped.
asISlideComponentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

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 connector lock.
getStartShapeConnectedTo()IShapeReturns the start shape connected to.
setStartShapeConnectedTo(value: IShape)Sets the start shape connected to value.
getEndShapeConnectedTo()IShapeReturns the end shape connected to.
setEndShapeConnectedTo(value: IShape)Sets the end shape connected to value.
getStartShapeConnectionSiteIndex()intReturns the start shape connection site index.
setStartShapeConnectionSiteIndex(value: int)Sets the start shape connection site index value.
getEndShapeConnectionSiteIndex()intReturns the end shape connection site index.
setEndShapeConnectionSiteIndex(value: int)Sets the end shape connection site index value.
getAsIGeometryShape()IGeometryShapeReturns the as i geometry shape.
reroute()Recomputes the connector’s routing path
GeometryShape(xmlElement: Element, saveCallback: Runnable)Creates a GeometryShape backed by the given XML element.
setParentShapes(shapes: Iterable<IShape>)Sets the sibling shapes collection used for connection lookups.
getX()doubleReturns the x.
setX(x: double)Sets the x value.
getY()doubleReturns the y.
setY(y: double)Sets the y value.
getWidth()doubleReturns the width.
setWidth(width: double)Sets the width value.
getHeight()doubleReturns the height.
setHeight(height: double)Sets the height value.
getRotation()doubleReturns the rotation.
setRotation(rotation: double)Sets the rotation value.
getShapeType()ShapeTypeReturns the shape type.
setShapeType(value: ShapeType)Sets the shape type value.
getFillFormat()IFillFormatReturns the fill format.
getAdjustments()IAdjustValueCollectionReturns the adjustments.
getCNvPr()ElementReturns the c nv pr.
isTextHolder()booleanReturns true if text holder is set.
getPlaceholder()IPlaceholderReturns the placeholder.
getCustomData()ICustomDataReturns the custom data.
getRawFrame()IShapeFrameReturns the raw frame.
setRawFrame(value: IShapeFrame)Sets the raw frame value.
getFrame()IShapeFrameReturns the frame.
setFrame(value: IShapeFrame)Sets the frame value.
getLineFormat()ILineFormatReturns the line format.
getThreeDFormat()IThreeDFormatReturns the three d format.
getEffectFormat()IEffectFormatReturns the effect format.
isHidden()booleanReturns true if hidden is set.
setHidden(value: boolean)Sets the hidden value.
getZOrderPosition()intReturns the z order position.
getConnectionSiteCount()intReturns the connection site count.
getAlternativeText()StringReturns the alternative text.
setAlternativeText(value: String)Sets the alternative text value.
getAlternativeTextTitle()StringReturns the alternative text title.
setAlternativeTextTitle(value: String)Sets the alternative text title value.
getName()StringReturns the name.
setName(value: String)Sets the name value.
isDecorative()booleanReturns true if decorative is set.
setDecorative(value: boolean)Sets the decorative value.
getUniqueId()intReturns the unique id.
getOfficeInteropShapeId()intReturns the office interop shape id.
isGrouped()booleanReturns true if grouped is set.
getAsISlideComponent()ISlideComponentReturns the as i slide component.
getSlide()IBaseSlideReturns the slide.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponent

See Also