Point Point Point Point Struct

Definition

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

public value class Point : IFormattable
[System.Security.SecurityCritical]
public struct Point : IFormattable
type Point = struct
    interface IFormattable
Public Structure Point
Implements 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) Point(Double, Double) Point(Double, Double) Point(Double, Double)

Initializes a Point struct that contains the specified values.

Properties

X X X X

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

Y Y Y Y

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(Point) Equals(Point) Equals(Point) Equals(Point)

Compares two Point structs for equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this Point.

ToString() ToString() ToString() ToString()

Creates a String representation of this Point.

ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider)

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

Operators

Equality(Point, Point) Equality(Point, Point) Equality(Point, Point) Equality(Point, Point)

Compares two Point structs for equality.

Inequality(Point, Point) Inequality(Point, Point) Inequality(Point, Point) Inequality(Point, Point)

Compares two Point structs for inequality

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider)

For a description of this member, see ToString(String, IFormatProvider).

Extension Methods

ToVector2(Point) ToVector2(Point) ToVector2(Point) ToVector2(Point)

Applies to

See also