Input for WinForms | ComponentOne
C1.Framework Namespace / DrawUtil Class / CreatePath Method
the values for corners.
the right-to-left flag.
the original rectangle.

In This Topic
    CreatePath Method (DrawUtil)
    In This Topic
    Creates a System.Drawing.Drawing2D.GraphicsPath for a rectangle with rounded edges.
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePath( _
       ByVal corners As Corners, _
       ByVal rightToLeft As Boolean, _
       ByVal bounds As Rectangle _
    ) As GraphicsPath
    public static GraphicsPath CreatePath( 
       Corners corners,
       bool rightToLeft,
       Rectangle bounds
    )

    Parameters

    corners
    the values for corners.
    rightToLeft
    the right-to-left flag.
    bounds
    the original rectangle.
    See Also