new Direction(x, y)
Parameters:
Name | Type | Description |
---|---|---|
x |
The horizontal component of the point. |
|
y |
The vertical component of the point. |
- Source:
Returns:
A new Direction object.