|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.GeometryShape
com.aspose.slides.Connector
public class Connector
Represents a connector.
Method Summary | |
---|---|
IConnectorLock |
getConnectorLock()
Returns connector's locks. |
IShape |
getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to. |
long |
getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape. |
int |
getShapeType()
Returns or sets the AutoShape type. |
IShape |
getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to. |
long |
getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape. |
void |
reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect. |
void |
setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to. |
void |
setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape. |
void |
setShapeType(int value)
Returns or sets the AutoShape type. |
void |
setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to. |
void |
setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape. |
Methods inherited from class com.aspose.slides.GeometryShape |
---|
createShapeElements, getAdjustments, getShapeStyle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.slides.IGeometryShape |
---|
createShapeElements, getAdjustments, getShapeStyle |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Methods inherited from interface com.aspose.slides.IHyperlinkContainer |
---|
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver |
Method Detail |
---|
public IConnectorLock getConnectorLock()
Returns connector's locks.
Read-only IConnectorLock
.
getConnectorLock
in interface IConnector
public int getShapeType()
Returns or sets the AutoShape type.
Read/write ShapeType
.
getShapeType
in interface IGeometryShape
getShapeType
in class GeometryShape
public void setShapeType(int value)
Returns or sets the AutoShape type.
Read/write ShapeType
.
setShapeType
in interface IGeometryShape
setShapeType
in class GeometryShape
public IShape getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
getStartShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public void setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
setStartShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public IShape getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
getEndShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public void setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
setEndShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public long getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
Read/write long
.
getStartShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountpublic void setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
Read/write long
.
setStartShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountpublic long getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
Read/write long
.
getEndShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountpublic void setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
Read/write long
.
setEndShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountpublic void reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.
reroute
in interface IConnector
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |