Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / PathExt Class / AddLine Method
The IPath object.
The x coordinate of the end point.
The y coordinate of the end point.

In This Topic
    AddLine Method (PathExt)
    In This Topic
    Creates a line segment between the current point and the specified end point and adds it to the geometry sink.
    Syntax
    'Declaration
     
    Public Shared Sub AddLine( _
       ByVal path As IPath, _
       ByVal x As System.Single, _
       ByVal y As System.Single _
    ) 
    public static void AddLine( 
       IPath path,
       System.float x,
       System.float y
    )

    Parameters

    path
    The IPath object.
    x
    The x coordinate of the end point.
    y
    The y coordinate of the end point.
    See Also