Graphics.DrawLine Method (Pen, Point, Point)

Draws a line connecting two Point structures.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void DrawLine(
	Pen pen,
	Point point1,
	Point point2
)

Parameters

pen

Type: Aurigma.GraphicsMill.Drawing.Pen

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

Type: System.Drawing.Point

A Point structure that represents the first point to connect.
point2

Type: System.Drawing.Point

A Point structure that represents the second point to connect.

Remarks

In this method line is defined with two points which should be connected with this line.

See Also

Reference