Point Constructor
Point(Double, Double)
Initializes a new instance of the Point class with the specified coordinates.
Declaration
public Point(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | |
System.Double | y |
Point(Vector2)
Initializes a new instance of the Point struct from the specified System.Numerics.Vector2.
Declaration
public Point(Vector2 vector)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.Vector2 | vector |