Freigeben über


CanvasExtensions.ResetStroke(ICanvas) Method

Definition

Resets the stroke to the default settings:

  • Stroke Size: 1
  • Stroke Dash Pattern: None
  • Stroke Location: Center
  • Stroke Line Join: Miter
  • Stroke Line Cap: Butt
  • Stroke Brush: None
  • Stroke Color: Black
public:
[System::Runtime::CompilerServices::Extension]
 static void ResetStroke(Microsoft::Maui::Graphics::ICanvas ^ canvas);
public static void ResetStroke (this Microsoft.Maui.Graphics.ICanvas canvas);
static member ResetStroke : Microsoft.Maui.Graphics.ICanvas -> unit
<Extension()>
Public Sub ResetStroke (canvas As ICanvas)

Parameters

canvas
ICanvas

Canvas.

Applies to