IConnector

Overview

IConnector is an interface in Aspose.Slides FOSS for Java. Inherits from: IGeometryShape.

Represents a connector.

This interface declares 56 methods for IConnector objects in Java programs. Available methods include: asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getConnectorLock, getCustomData, getEffectFormat, getEndShapeConnectedTo, and 44 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
connectorLockIConnectorLockReadReturns connector’s locks.
startShapeConnectedToIShapeRead/WriteReturns the shape to attach the beginning of the connector to.
endShapeConnectedToIShapeRead/WriteReturns the shape to attach the end of the connector to.
startShapeConnectionSiteIndexintRead/WriteReturns the index of connection site for start shape.
endShapeConnectionSiteIndexintRead/WriteReturns the index of connection site for end shape.
asIGeometryShapeIGeometryShapeReadAllows to get base IGeometryShape interface.
shapeStyleIShapeStyleReadReturns the shape’s style object.
adjustmentsIAdjustValueCollectionReadGets the collection of shape adjustment values.
textHolderbooleanReadDetermines whether the shape is a text holder.
placeholderIPlaceholderReadReturns the placeholder for this shape.
customDataICustomDataReadReturns the shape’s custom data.
rawFrameIShapeFrameRead/WriteReturns the raw shape frame’s properties.
frameIShapeFrameRead/WriteReturns the shape frame’s properties.
lineFormatILineFormatReadReturns the line format for this shape.
threeDFormatIThreeDFormatReadReturns the 3-D format for this shape.
effectFormatIEffectFormatReadReturns the effect format for this shape.
fillFormatIFillFormatReadReturns the fill format for this shape.
hiddenbooleanRead/WriteDetermines whether the shape is hidden.
zOrderPositionintReadReturns the position of a shape in the z-order.
connectionSiteCountintReadReturns the number of connection sites on the shape.
rotationdoubleRead/WriteReturns the rotation angle of the shape in degrees.
xdoubleRead/WriteGets the x-coordinate of the upper-left corner of the shape, in points.
ydoubleRead/WriteGets the y-coordinate of the upper-left corner of the shape, in points.
widthdoubleRead/WriteGets the width of the shape, in points.
heightdoubleRead/WriteGets the height of the shape, in points.
alternativeTextStringRead/WriteReturns or sets the alternative text associated with a shape.
alternativeTextTitleStringRead/WriteReturns or sets the title of alternative text associated with a shape.
nameStringRead/WriteReturns or sets the name of a shape.
decorativebooleanRead/WriteGets or sets the ‘Mark as decorative’ option.
uniqueIdintReadReturns an internal, presentation-scoped identifier.
officeInteropShapeIdintReadReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape.
groupedbooleanReadDetermines whether the shape is grouped.
asISlideComponentISlideComponentReadAllows to get base {@link ISlideComponent} interface.
shapeTypeShapeTypeRead/WriteGets the AutoShape type.
cNvPrElementReadReturns the {@code cNvPr} element for this shape, or {@code null}.
slideIBaseSlideReadReturns the parent slide.
presentationIPresentationReadReturns the presentation containing this component.

Methods

SignatureDescription
getConnectorLock() → IConnectorLockReturns connector’s locks.
getStartShapeConnectedTo() → IShapeReturns the shape to attach the beginning of the connector to.
setStartShapeConnectedTo(value: IShape)Sets the shape to attach the beginning of the connector to.
getEndShapeConnectedTo() → IShapeReturns the shape to attach the end of the connector to.
setEndShapeConnectedTo(value: IShape)Sets the shape to attach the end of the connector to.
getStartShapeConnectionSiteIndex() → intReturns the index of connection site for start shape.
setStartShapeConnectionSiteIndex(value: int)Sets the index of connection site for start shape.
getEndShapeConnectionSiteIndex() → intReturns the index of connection site for end shape.
setEndShapeConnectionSiteIndex(value: int)Sets the index of connection site for end shape.
getAsIGeometryShape() → IGeometryShapeAllows to get base IGeometryShape interface.
reroute()Recalculates connector bounding box based on connected shapes.
getShapeStyle() → IShapeStyleReturns the shape’s style object.
setShapeType(value: ShapeType)Sets the AutoShape type.
getAdjustments() → IAdjustValueCollectionGets the collection of shape adjustment values.
isTextHolder() → booleanDetermines whether the shape is a text holder.
getPlaceholder() → IPlaceholderReturns the placeholder for this shape.
getCustomData() → ICustomDataReturns the shape’s custom data.
getRawFrame() → IShapeFrameReturns the raw shape frame’s properties.
setRawFrame(value: IShapeFrame)Sets the raw shape frame’s properties.
getFrame() → IShapeFrameReturns the shape frame’s properties.
setFrame(value: IShapeFrame)Sets the shape frame’s properties.
getLineFormat() → ILineFormatReturns the line format for this shape.
getThreeDFormat() → IThreeDFormatReturns the 3-D format for this shape.
getEffectFormat() → IEffectFormatReturns the effect format for this shape.
getFillFormat() → IFillFormatReturns the fill format for this shape.
isHidden() → booleanDetermines whether the shape is hidden.
setHidden(value: boolean)Sets whether the shape is hidden.
getZOrderPosition() → intReturns the position of a shape in the z-order.
getConnectionSiteCount() → intReturns the number of connection sites on the shape.
getRotation() → doubleReturns the rotation angle of the shape in degrees.
setRotation(rotation: double)Sets the rotation angle of the shape in degrees.
getX() → doubleGets the x-coordinate of the upper-left corner of the shape, in points.
setX(x: double)Sets the x-coordinate of the upper-left corner of the shape, in points.
getY() → doubleGets the y-coordinate of the upper-left corner of the shape, in points.
setY(y: double)Sets the y-coordinate of the upper-left corner of the shape, in points.
getWidth() → doubleGets the width of the shape, in points.
setWidth(width: double)Sets the width of the shape, in points.
getHeight() → doubleGets the height of the shape, in points.
setHeight(height: double)Sets the height of the shape, in points.
getAlternativeText() → StringReturns or sets the alternative text associated with a shape.
setAlternativeText(value: String)Sets the alternative text associated with a shape.
getAlternativeTextTitle() → StringReturns or sets the title of alternative text associated with a shape.
setAlternativeTextTitle(value: String)Sets the title of alternative text associated with a shape.
getName() → StringReturns or sets the name of a shape.
setName(value: String)Sets the name of a shape.
isDecorative() → booleanGets or sets the ‘Mark as decorative’ option.
setDecorative(value: boolean)Sets the ‘Mark as decorative’ option.
getUniqueId() → intReturns an internal, presentation-scoped identifier.
getOfficeInteropShapeId() → intReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape.
isGrouped() → booleanDetermines whether the shape is grouped.
getAsISlideComponent() → ISlideComponentAllows to get base {@link ISlideComponent} interface.
getShapeType() → ShapeTypeGets the AutoShape type.
getCNvPr() → ElementReturns the {@code cNvPr} element for this shape, or {@code null}.
getSlide() → IBaseSlideReturns the parent slide.
asIPresentationComponent() → IPresentationComponentReturns the base {@link IPresentationComponent} interface.
getPresentation() → IPresentationReturns the presentation containing this component.

See Also

 English