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