Share via


Size.Explicit(Size to Point) Operator

Definition

Explicitly converts a Size to a Point.

public:
 static explicit operator Microsoft::Maui::Graphics::Point(Microsoft::Maui::Graphics::Size size);
public static explicit operator Microsoft.Maui.Graphics.Point(Microsoft.Maui.Graphics.Size size);
static member op_Explicit : Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Graphics.Point
Public Shared Narrowing Operator CType (size As Size) As Point

Parameters

size
Size

The size to convert.

Returns

A new point with X and Y values set to the size's width and height.

Applies to