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 As Corners, _
ByVal As System.Boolean, _
ByVal As System.Drawing.Rectangle, _
ByVal As Thickness _
) As System.Drawing.Drawing2D.GraphicsPath
public static System.Drawing.Drawing2D.GraphicsPath CreateBorderPath(
Corners ,
System.bool ,
System.Drawing.Rectangle ,
Thickness
)
Parameters
- corners
- the values for corners.
- rightToLeft
- the right-to-left flag.
- bounds
- the original rectangle.
- border
- the border thickness.
See Also