Edit

Share via


Point Struct

Definition

Represents an x- and y-coordinate pair in two-dimensional space. Can also represent a logical point for certain property usages.

C#
[System.Security.SecurityCritical]
public struct Point : IFormattable
Inheritance
Attributes
Implements

Remarks

This represents the .NET projection of the Windows Runtime (WinRT) Point struct. For more information, see Point in the UWP API reference.

Constructors

Point(Double, Double)

Initializes a Point struct that contains the specified values.

Properties

X

Gets or sets the X-coordinate value of this Point struct.

Y

Gets or sets the Y-coordinate value of this Point.

Methods

Equals(Object)

Determines whether the specified object is a Point and whether it contains the same values as this Point.

Equals(Point)

Compares two Point structs for equality.

GetHashCode()

Returns the hash code for this Point.

ToString()

Creates a String representation of this Point.

ToString(IFormatProvider)

Creates a String representation of this Point using the specified culture-specific formatting information.

Operators

Equality(Point, Point)

Compares two Point structs for equality.

Inequality(Point, Point)

Compares two Point structs for inequality.

Explicit Interface Implementations

Extension Methods

Applies to

Product Versions
UWP 10.0

See also