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






Draws a line connecting the two points specified by coordinate pairs.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawLine (
    Pen pen,
    double x1,
    double y1,
    double x2,
    double y2
)

Visual Basic  Copy Code

Sub DrawLine( _
    pen As Pen, _
    x1 As Double, _
    y1 As Double, _
    x2 As Double, _
    y2 As Double _
)

 Parameters

pen

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

x1

The x-coordinate of the first point.

y1

The y-coordinate of the first point.

x2

The x-coordinate of the second point.

y2

The y-coordinate of the second point.

 See Also