[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.PathExt.AddLine

AddLine Method

AddLine(IPath, float, float)

Creates a line segment between the current point and the specified end point and adds it to the geometry sink.

Declaration
public static void AddLine(this IPath path, float x, float y)
Public Shared Sub AddLine(path As IPath, x As Single, y As Single)
Parameters
Type Name Description
IPath path

The IPath object.

float x

The x coordinate of the end point.

float y

The y coordinate of the end point.