Graphics.DrawLine Method (Pen, PointF, PointF)

Draws a line connecting two points defined by PointF structures.

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

Syntax

C#
public void DrawLine(
	Pen pen,
	PointF pt1,
	PointF pt2
)

Parameters

pen

Type: Aurigma.GraphicsMill.AdvancedDrawing.Pen

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

Type: System.Drawing.PointF

A PointF structure that represents the first point to connect.
pt2

Type: System.Drawing.PointF

A PointF 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

Manual