Point Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.Security.SecurityCritical>]
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) |
Initializes a Point struct that contains the specified values. |
Properties
X | |
Y |
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() | |
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
IFormattable.ToString(String, IFormatProvider) |
For a description of this member, see ToString(String, IFormatProvider). |
Extension Methods
ToVector2(Point) |