IDrawingContextImpl.

DrawLine(IPen, Point, Point) Method

Summary

Draws a line.
Namespace
Avalonia.Platform
Containing Type
IDrawingContextImpl

Syntax

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