-
Notifications
You must be signed in to change notification settings - Fork 1
Point
Konoplev Anatolii edited this page Jun 14, 2020
·
3 revisions
ClForms.Common.Point
Describes the location of an element
public struct Point
{
…
// Zero-sized Point
public static Point Empty => new Point(0, 0);
…
}| Syntax | Description |
|---|---|
| Point(int x, int y) | Initialize a new instance with specified parameters |
| Name | Type | Description |
|---|---|---|
| X | int | Gets the x-axis value |
| Y | int | Gets the y-axis value |
| Syntax | Description |
|---|---|
| Offset(int offsetX, int offsetY) | Point offset X and Y by specified values |
| Equals(Point value) | Compares the value of the Point instance to equality |