AdjustRectangle Class
Adjustment rectangle in the shape’s geometry.
Declaration
public final class AdjustRectangle extends Struct<AdjustRectangle> implements IEquatable<AdjustRectangle>
Implements
Inherited Members
Inheritance
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 |
Returns
| Type | Description |
|---|---|
| boolean |
|
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 |
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. |