共用方式為


CanvasExtensions.ClipRectangle Method

Definition

Overloads

ClipRectangle(ICanvas, Rect)
ClipRectangle(ICanvas, RectF)

ClipRectangle(ICanvas, Rect)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void ClipRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::Rect rect);
public static void ClipRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.Rect rect);
static member ClipRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect -> unit
<Extension()>
Public Sub ClipRectangle (target As ICanvas, rect As Rect)

Parameters

target
ICanvas
rect
Rect

Applies to

ClipRectangle(ICanvas, RectF)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void ClipRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect);
public static void ClipRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect);
static member ClipRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF -> unit
<Extension()>
Public Sub ClipRectangle (target As ICanvas, rect As RectF)

Parameters

target
ICanvas
rect
RectF

Applies to