Skip to main content

AdjustRectangle Class

Adjustment rectangle in the shape’s geometry.

Declaration

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

Implements

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

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
AdjustRectangle

Constructors

AdjustRectangle() Constructor

Initializes a new instance of the AdjustRectangle class.

Declaration

public AdjustRectangle()

AdjustRectangle(AdjustCoordinate left, AdjustCoordinate top, AdjustCoordinate right, AdjustCoordinate bottom) Constructor

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

Declaration

public AdjustRectangle(AdjustCoordinate left, AdjustCoordinate top, AdjustCoordinate right, AdjustCoordinate bottom)

Parameters

Name Type Description
left AdjustCoordinate

The left adjustment coordinate.

top AdjustCoordinate

The top adjustment coordinate.

right AdjustCoordinate

The right adjustment coordinate.

bottom AdjustCoordinate

The bottom adjustment coordinate.

AdjustRectangle(float left, float top, float right, float bottom) Constructor

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

Declaration

public AdjustRectangle(float left, float top, float right, float bottom)

Parameters

Name Type Description
left float

The left adjustment coordinate.

top float

The top adjustment coordinate.

right float

The right adjustment coordinate.

bottom float

The bottom adjustment coordinate.

Methods

equals(AdjustRectangle other) Method

Indicates whether the current AdjustRectangle instance is equal to another AdjustRectangle instance.

Declaration

public boolean equals(AdjustRectangle other)

Parameters

Name Type Description
other AdjustRectangle

The AdjustRectangle instance to compare.

Returns

Type Description
boolean

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

equals(Object obj) Method

Determines whether the specified object is equal to the current AdjustRectangle instance.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with the current AdjustRectangle instance.

Returns

Type Description
boolean

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

getBottom() Method

Returns the bottom adjustment coordinate.

Declaration

public AdjustCoordinate getBottom()

Returns

Type Description
AdjustCoordinate

The bottom adjustment coordinate.

getLeft() Method

Returns the left adjustment coordinate.

Declaration

public AdjustCoordinate getLeft()

Returns

Type Description
AdjustCoordinate

The left adjustment coordinate.

getRight() Method

Returns the right adjustment coordinate.

Declaration

public AdjustCoordinate getRight()

Returns

Type Description
AdjustCoordinate

The right adjustment coordinate.

getTop() Method

Returns the top adjustment coordinate.

Declaration

public AdjustCoordinate getTop()

Returns

Type Description
AdjustCoordinate

The top adjustment coordinate.

hashCode() Method

Returns a hash code for this AdjustRectangle object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.