Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
public value struct Point
Some (but not all) usages of the Point type specify location in a coordinate space. Depending on the context, the location might be in a content area’s frame of reference, or might be within the frame of reference for a specific layout element.
X and Y for a Point can be non-integer values in some cases.
X and Y for a Point can be negative in some cases. Typically, this results in a Point that specifies a coordinate that is deliberately outside the frame of reference, unless there is additional translation.
Some usages of the Point type do not relate to coordinate frames of reference directly. Instead, these are logical points, where the value of X and Y are each expected to be between 0 and 1 inclusive. This is a major scenario for why the X and Y values can be floating-point values rather than restricted to integer values. The logical point values are interpreted such that the run-time coordinates for presentation or behavior might be specified or modified by a different property or setting. Or sometimes the points express information that doesn’t relate to coordinate space at all. A property of Point type that is a logical point mapping may invalidate values less than 0, or greater than 1, but this behavior depends on the specific property. Value constraints are typically noted in the reference pages for properties.
Namespace: Windows.Foundation
Metadata: windows.winmd