PathMove Class
A path segment that moves the current drawing position to a new point without rendering any line.
Declaration
public final class PathMove extends Struct<PathMove> implements IPathSegment, IEquatable<PathMove>
Inherited Members
Inheritance
Constructors
PathMove() Constructor
Initializes a new instance of the PathMove class.
Declaration
public PathMove()
PathMove(AdjustCoordinate x, AdjustCoordinate y) Constructor
Initializes a new instance of the PathMove class with specified settings.
Declaration
public PathMove(AdjustCoordinate x, AdjustCoordinate y)
Parameters
| Name | Type | Description |
|---|---|---|
| x | AdjustCoordinate | The X-coordinate. |
| y | AdjustCoordinate | The Y-coordinate. |
PathMove(float x, float y) Constructor
Initializes a new instance of the PathMove class with specified settings.
Declaration
public PathMove(float x, float y)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
| y | float | The Y-coordinate. |
Methods
equals(Object obj) Method
Determines whether the specified object is equal to the current PathMove instance.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with the current |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(PathMove other) Method
Determines whether the specified object is equal to the current PathMove instance.
Declaration
public boolean equals(PathMove other)
Parameters
| Name | Type | Description |
|---|---|---|
| other | PathMove |
The other parameter. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getX() Method
Returns the X-coordinate.
Declaration
public AdjustCoordinate getX()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The X-coordinate. |
getY() Method
Returns the Y-coordinate.
Declaration
public AdjustCoordinate getY()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The Y-coordinate. |
hashCode() Method
Returns a hash code for this PathMove object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The identification number. |