共用方式為


RectF.Implicit(RectF to Rect) Operator

Definition

public:
 static operator Microsoft::Maui::Graphics::Rect(Microsoft::Maui::Graphics::RectF rect);
public static implicit operator Microsoft.Maui.Graphics.Rect (Microsoft.Maui.Graphics.RectF rect);
static member op_Implicit : Microsoft.Maui.Graphics.RectF -> Microsoft.Maui.Graphics.Rect
Public Shared Widening Operator CType (rect As RectF) As Rect

Parameters

rect
RectF

Returns

Applies to