Point class
Point class
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
The Point type exposes the following members:
Constructors
Constructor | Description |
---|
init | Initializes a new instance of the Point structure with the specified coordinates. |
init | Initializes a new instance of the Point structure from the Size structure. |
init | Initializes a new instance of the Point structure using coordinates specified by an integer value. |
init | Constructs a new instance of Point |
Properties
Property | Description |
---|
empty | Gets a new instance of the Point structure that has Point.x and Point.y values set to zero. |
is_empty | Gets a value indicating whether this Point is empty. |
x | Gets or sets the x-coordinate of this Point . |
y | Gets or sets the y-coordinate of this Point . |
Methods
See Also