System.Drawing.Drawing2D.GraphicsPath.AddLine Method

Appends a line segment to this System.Drawing.Drawing2D.GraphicsPath.

Syntax

public void AddLine (System.Drawing.PointF a, System.Drawing.PointF b)

Parameters

a
Documentation for this section has not yet been entered.
b
Documentation for this section has not yet been entered.

Remarks

This method adds the line segment defined by the specified points to the end of this System.Drawing.Drawing2D.GraphicsPath. If there are previous lines or curves in the System.Drawing.Drawing2D.GraphicsPath, a line segment is drawn to connect the last point in the path to the first point in the new line segment.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0