IDrawingContextImplDrawLine Method
Draws a line.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void DrawLine(
IPen? pen,
Point p1,
Point p2
)
Sub DrawLine (
pen As IPen,
p1 As Point,
p2 As Point
)
abstract DrawLine :
pen : IPen *
p1 : Point *
p2 : Point -> unit
Parameters
- pen IPen
- The stroke pen.
- p1 Point
- The first point of the line.
- p2 Point
- The second point of the line.