ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / 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 System.Boolean, _
       ByVal bounds As System.Drawing.Rectangle, _
       ByVal border As Thickness _
    ) As System.Drawing.Drawing2D.GraphicsPath
    public static System.Drawing.Drawing2D.GraphicsPath CreateBorderPath( 
       Corners corners,
       System.bool rightToLeft,
       System.Drawing.Rectangle bounds,
       Thickness border
    )

    Parameters

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