[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static GraphicsPath RoundCorners(
this RectangleF rect,
float cornerRadius
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function RoundCorners (
rect As RectangleF,
cornerRadius As Single
) As GraphicsPath
Dim rect As RectangleF
Dim cornerRadius As Single
Dim returnValue As GraphicsPath
returnValue = rect.RoundCorners(cornerRadius)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static GraphicsPath^ RoundCorners(
RectangleF rect,
float cornerRadius
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member RoundCorners :
rect : RectangleF *
cornerRadius : float32 -> GraphicsPath
No code example is currently available or this language may not be supported.
[Missing <returns> documentation for "M:DevCase.Extensions.RectangleFExtensions.RectangleFExtensions.RoundCorners(System.Drawing.RectangleF,System.Single)"]
No code example is currently available or this language may not be supported.
Dim rect As New RectangleF(New PointF(0, 0), New SizeF(256, 256))
Dim radius As Single = 10
Dim roundedRect As GraphicsPath = RoundCorners(rect, radius)
Using g As Graphics = Me.CreateGraphics(),
pen As New Pen(Color.Red)
g.DrawPath(pen, roundedRect)
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.