Share via


CanvasExtensions.DrawLine(ICanvas, PointF, PointF) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static void DrawLine(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::PointF point1, Microsoft::Maui::Graphics::PointF point2);
public static void DrawLine (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.PointF point1, Microsoft.Maui.Graphics.PointF point2);
static member DrawLine : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.PointF * Microsoft.Maui.Graphics.PointF -> unit
<Extension()>
Public Sub DrawLine (target As ICanvas, point1 As PointF, point2 As PointF)

Parameters

target
ICanvas
point1
PointF
point2
PointF

Applies to