DrawLine Method
Draws a line.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void DrawLine(
ImmutablePen pen,
Point p1,
Point p2
)
Public Sub DrawLine (
pen As ImmutablePen,
p1 As Point,
p2 As Point
)
member DrawLine :
pen : ImmutablePen *
p1 : Point *
p2 : Point -> unit
Parameters
- ImmutablePen
- The stroke pen.
- Point
- The first point of the line.
- Point
- The second point of the line.