Connector

Overview

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

Represents a connector shape.

This class declares 61 methods for Connector objects in Java programs. Available methods include: Connector, GeometryShape, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getConnectorLock, getCustomData, and 47 additional methods. 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.
startShapeConnectedToIShapeRead/WriteGets or sets the start shape connected to.
endShapeConnectedToIShapeRead/WriteGets or sets the end shape connected to.
startShapeConnectionSiteIndexintRead/WriteGets or sets the start shape connection site index.
endShapeConnectionSiteIndexintRead/WriteGets or sets the end shape connection site index.
asIGeometryShapeIGeometryShapeReadGets the as i geometry shape.
xdoubleRead/WriteGets or sets the x.
ydoubleRead/WriteGets or sets the y.
widthdoubleRead/WriteGets or sets the width.
heightdoubleRead/WriteGets or sets the height.
rotationdoubleRead/WriteGets or sets the rotation.
shapeTypeShapeTypeRead/WriteGets or sets 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.
rawFrameIShapeFrameRead/WriteGets or sets the raw frame.
frameIShapeFrameRead/WriteGets or sets the frame.
lineFormatILineFormatReadGets the line format.
threeDFormatIThreeDFormatReadGets the three d format.
effectFormatIEffectFormatReadGets the effect format.
hiddenbooleanRead/WriteGets or sets the hidden.
zOrderPositionintReadGets the z order position.
connectionSiteCountintReadGets the connection site count.
alternativeTextStringRead/WriteGets or sets the alternative text.
alternativeTextTitleStringRead/WriteGets or sets the alternative text title.
nameStringRead/WriteGets or sets the name.
decorativebooleanRead/WriteGets or sets 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.
GeometryShape()Creates a GeometryShape with no backing 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() → IPresentationComponentCalls asIPresentationComponent on this Connector instance.

See Also

 English