共用方式為


CanvasExtensions.EnableDefaultShadow(ICanvas, Single) Method

Definition

Enables the default shadow.

public static void EnableDefaultShadow (this Microsoft.Maui.Graphics.ICanvas canvas, float zoom = 1);
static member EnableDefaultShadow : Microsoft.Maui.Graphics.ICanvas * single -> unit
<Extension()>
Public Sub EnableDefaultShadow (canvas As ICanvas, Optional zoom As Single = 1)

Parameters

canvas
ICanvas

canvas

zoom
Single

Zoom.

Applies to