Point - ahatornn/clforms GitHub Wiki

Point

ClForms.Common.Point
Describes the location of an element

public struct Point
{
    …
    // Zero-sized Point
    public static Point Empty => new Point(0, 0);
    …
}

Constructors

Syntax Description
Point(int x, int y) Initialize a new instance with specified parameters

Properties

Name Type Description
X int Gets the x-axis value
Y int Gets the y-axis value

Methods

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