ImmediateDrawingContextDrawLine Method

Draws a line.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void DrawLine(
	ImmutablePen pen,
	Point p1,
	Point p2
)

Parameters

pen  ImmutablePen
The stroke pen.
p1  Point
The first point of the line.
p2  Point
The second point of the line.

See Also