共用方式為


RectF.Implicit(RectF to Rect) 運算子

定義

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

參數

rect
RectF

傳回

適用於