[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Drawing.Drawing2D.GraphicsPath.AddLine

AddLine Method

AddLine(float, float, float, float)

Appends a line segment to this GraphicsPath.

Declaration
public void AddLine(float x1, float y1, float x2, float y2)
Parameters
Type Name Description
float x1

The x-coordinate of the starting point of the line.

float y1

The y-coordinate of the starting point of the line.

float x2

The x-coordinate of the endpoint of the line.

float y2

The y-coordinate of the endpoint of the line.

AddLine(PointF, PointF)

Appends a line segment to this GraphicsPath.

Declaration
public void AddLine(PointF point1, PointF point2)
Parameters
Type Name Description
PointF point1

A PointF that represents the starting point of the line.

PointF point2

A PointF that represents the endpoint of the line.