CanvasExtensions.ResetStroke(ICanvas) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.