DrawingContext.

DrawLine(IPen, Point, Point) Method

Summary

Draws a line.
Namespace
Avalonia.Media
Containing Type
DrawingContext

Syntax

public void DrawLine(IPen pen, Point p1, Point p2)

Parameters

Name Type Description
pen IPen The stroke pen.
p1 Point The first point of the line.
p2 Point The second point of the line.

Return Value

Type Description
void