Region.FromRectangles(IEnumerable<Rect>) 方法

定义

public:
 static Microsoft::Maui::Controls::Region FromRectangles(System::Collections::Generic::IEnumerable<Microsoft::Maui::Graphics::Rect> ^ rectangles);
public static Microsoft.Maui.Controls.Region FromRectangles (System.Collections.Generic.IEnumerable<Microsoft.Maui.Graphics.Rect> rectangles);
static member FromRectangles : seq<Microsoft.Maui.Graphics.Rect> -> Microsoft.Maui.Controls.Region
Public Shared Function FromRectangles (rectangles As IEnumerable(Of Rect)) As Region

参数

rectangles
IEnumerable<Rect>

返回

适用于