ComponentOne Excel for .NET
C1.Excel Assembly / C1.Util Namespace / IRendering Interface / DrawPath Method
Array of x-coordinates.
Array of y-coordinates.
The path types to draw (see remarks).
Whether is closed path (figure) or not.

In This Topic
    DrawPath Method (IRendering)
    In This Topic
    Draws a path defined by points and types and fill.
    Syntax
    'Declaration
     
    Sub DrawPath( _
       ByVal xs() As System.Double, _
       ByVal ys() As System.Double, _
       ByVal types() As System.Byte, _
       ByVal close As System.Boolean _
    ) 
    void DrawPath( 
       System.double[] xs,
       System.double[] ys,
       System.byte[] types,
       System.bool close
    )

    Parameters

    xs
    Array of x-coordinates.
    ys
    Array of y-coordinates.
    types
    The path types to draw (see remarks).
    close
    Whether is closed path (figure) or not.
    Remarks
    Path types: 0x00: the start of a figure 0x01: one of the two endpoints of a line 0x02: an endpoint or control point of a Quadratic Bézier (two points) 0x03: an endpoint or control point of a Bézier (three points) 0x80: the last point of a figure 0x81: the last point of the figure in a closed sub path (one point) 0x82: the last point of the figure for Quadratic Bézier curve of the figure in a closed sub path (two points) 0x83: the last point of the figure for Bézier curve of the figure in a closed sub path (three points)
    See Also