Skip to main content

ShapeConnectionSite Class

A shape connection site that is a point on a shape to which connectors can be attached.

Declaration

public final class ShapeConnectionSite extends Struct<ShapeConnectionSite> implements IEquatable<ShapeConnectionSite>

Implements

com.devexpress.system.IEquatable<com.devexpress.docs.presentation.ShapeConnectionSite>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
ShapeConnectionSite

Constructors

ShapeConnectionSite() Constructor

Initializes a new instance of the ShapeConnectionSite class.

Declaration

public ShapeConnectionSite()

ShapeConnectionSite(AdjustCoordinate x, AdjustCoordinate y, AdjustAngle rotationAngle) Constructor

Initializes a new instance of the ShapeConnectionSite class with specified settings.

Declaration

public ShapeConnectionSite(AdjustCoordinate x, AdjustCoordinate y, AdjustAngle rotationAngle)

Parameters

Name Type Description
x AdjustCoordinate

The X-coordinate.

y AdjustCoordinate

The Y-coordinate.

rotationAngle AdjustAngle

The rotation angle.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current ShapeConnectionSite object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with the current ShapeConnectionSite object.

Returns

Type Description
boolean

true if the specified object is equal to the current ShapeConnectionSite object; otherwise, false.

equals(ShapeConnectionSite other) Method

Determines whether the specified object is equal to the current ShapeConnectionSite object.

Declaration

public boolean equals(ShapeConnectionSite other)

Parameters

Name Type Description
other ShapeConnectionSite

The other parameter.

Returns

Type Description
boolean

true if the specified object is equal to the current ShapeConnectionSite object; otherwise, false.

getRotationAngle() Method

Returns the rotation angle of the shape connection site.

Declaration

public AdjustAngle getRotationAngle()

Returns

Type Description
AdjustAngle

The rotation angle of the shape connection site.

getX() Method

Returns the X-coordinate of the shape connection site.

Declaration

public AdjustCoordinate getX()

Returns

Type Description
AdjustCoordinate

The X-coordinate of the shape connection site.

getY() Method

Returns the Y-coordinate of the shape connection site.

Declaration

public AdjustCoordinate getY()

Returns

Type Description
AdjustCoordinate

The Y-coordinate of the shape connection site.

hashCode() Method

Returns a hash code for this ShapeConnectionSite object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.