Ribbon for WinForms | ComponentOne
C1.Framework Namespace / TextElement Class / GetBorderPath Method
the Element.Style of the rendered Element.
the bounds of the rendered Element.
the border of the rendered Element.

In This Topic
    GetBorderPath Method (TextElement)
    In This Topic
    Gets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders).
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetBorderPath( _
       ByVal style As Style, _
       ByVal bounds As Rectangle, _
       ByVal broder As Thickness _
    ) As GraphicsPath
    protected virtual GraphicsPath GetBorderPath( 
       Style style,
       Rectangle bounds,
       Thickness broder
    )

    Parameters

    style
    the Element.Style of the rendered Element.
    bounds
    the bounds of the rendered Element.
    broder
    the border of the rendered Element.
    See Also