Ribbon for WinForms | ComponentOne
C1.Framework Namespace / DrawUtil Class / CreateBorderPath Method
the values for corners.
the right-to-left flag.
the original rectangle.
the border thickness.

In This Topic
    CreateBorderPath Method (DrawUtil)
    In This Topic
    Creates a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders).
    Syntax
    'Declaration
     
    
    Public Shared Function CreateBorderPath( _
       ByVal corners As Corners, _
       ByVal rightToLeft As Boolean, _
       ByVal bounds As Rectangle, _
       ByVal border As Thickness _
    ) As GraphicsPath

    Parameters

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