Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawPath Method / DrawPath(IPath,Color,Single,Single[]) Method
An object implementing the IPath interface that represents the path to draw.
The color of lines used to draw the path.
The width of lines used to draw the path.
The dash pattern of lines used to draw the path.

In This Topic
    DrawPath(IPath,Color,Single,Single[]) Method
    In This Topic
    Draws a path using a specified line color, width and dash pattern.

    If the dashPattern array contains two or more items, the path is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawPath( _
       ByVal path As IPath, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineWidth As System.Single, _
       ByVal dashPattern() As System.Single _
    ) 
    public void DrawPath( 
       IPath path,
       System.Drawing.Color lineColor,
       System.float lineWidth,
       System.float[] dashPattern
    )

    Parameters

    path
    An object implementing the IPath interface that represents the path to draw.
    lineColor
    The color of lines used to draw the path.
    lineWidth
    The width of lines used to draw the path.
    dashPattern
    The dash pattern of lines used to draw the path.
    See Also