Table of Contents

Struct Point

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.

public struct Point
Inherited Members

Constructors

Point(int, int)

Point Constructor

Point(Size)

Point Constructor

Fields

Empty

Empty Shared Field

X

Gets or sets the x-coordinate of this Point.

Y

Gets or sets the y-coordinate of this Point.

Properties

IsEmpty

IsEmpty Property

Methods

Add(Point, Size)

Adds the specified Size to the specified Point.

Equals(object)

Equals Method

GetHashCode()

GetHashCode Method

Offset(int, int)

Offset Method

Offset(Point)

Translates this Point by the specified Point.

Subtract(Point, Size)

Returns the result of subtracting specified Size from the specified Point.

ToString()

ToString Method

Operators

operator +(Point, Size)

Addition Operator

operator ==(Point, Point)

Equality Operator

explicit operator Size(Point)

Point to Size Conversion

operator !=(Point, Point)

Inequality Operator

operator -(Point, Size)

Subtraction Operator