Search
IGraphics.DrawLine Method (Pen, Point, Point)
See Also
 





Draws a line segment connecting two points.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawLine (
    Pen pen,
    Point p1,
    Point p2
)

Visual Basic  Copy Code

Sub DrawLine( _
    pen As Pen, _
    p1 As Point, _
    p2 As Point _
)

 Parameters

pen
A Pen object that determines the color, width, and style of the line.
p1

A Microsoft.Maui.Graphics.Point that represents the first point to connect.

p2

A Microsoft.Maui.Graphics.Point that represents the second point to connect.

 See Also