AdjustPoint Class
Adjustment point in the shape geometry.
Declaration
public final class AdjustPoint extends Struct<AdjustPoint> implements IEquatable<AdjustPoint>
Implements
Inherited Members
Inheritance
Constructors
AdjustPoint() Constructor
Initializes a new instance of the AdjustPoint class.
Declaration
public AdjustPoint()
AdjustPoint(AdjustCoordinate x, AdjustCoordinate y) Constructor
Initializes a new instance of the AdjustPoint class with specified settings.
Declaration
public AdjustPoint(AdjustCoordinate x, AdjustCoordinate y)
Parameters
| Name | Type | Description |
|---|---|---|
| x | AdjustCoordinate | The X-coordinate. |
| y | AdjustCoordinate | The Y-coordinate. |
AdjustPoint(float x, float y) Constructor
Initializes a new instance of the AdjustPoint class with specified settings.
Declaration
public AdjustPoint(float x, float y)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
| y | float | The Y-coordinate. |
Fields
EMPTY Field
An empty adjustment point.
Declaration
public static final AdjustPoint EMPTY
Field Value
| Type | Description |
|---|---|
AdjustPoint |
An empty |
Methods
equals(AdjustPoint other) Method
Determines whether the specified object is equal to the current AdjustPoint object.
Declaration
public boolean equals(AdjustPoint other)
Parameters
| Name | Type | Description |
|---|---|---|
| other | AdjustPoint |
An object to compare with the current |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(Object obj) Method
Determines whether the specified object is equal to the current AdjustPoint object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The obj parameter. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getX() Method
Returns the point’s X-coordinate.
Declaration
public AdjustCoordinate getX()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The X-coordinate. |
getY() Method
Returns the point’s Y-coordinate.
Declaration
public AdjustCoordinate getY()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The Y-coordinate. |
hashCode() Method
Returns a hash code for this AdjustPoint object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The identification number. |