GraphicsExtensionsFillRoundedRectangle Method
Fills the interior of a rounded rectangle specified by rectangle bounds.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public static void FillRoundedRectangle(
this IGraphics g,
ColorBrush brush,
RectangleF rect,
float arcSize
)
<ExtensionAttribute>
Public Shared Sub FillRoundedRectangle (
g As IGraphics,
brush As ColorBrush,
rect As RectangleF,
arcSize As Single
)
public:
[ExtensionAttribute]
static void FillRoundedRectangle(
IGraphics^ g,
ColorBrush^ brush,
RectangleF rect,
float arcSize
)
[<ExtensionAttribute>]
static member FillRoundedRectangle :
g : IGraphics *
brush : ColorBrush *
rect : RectangleF *
arcSize : float32 -> unit
- g IGraphics
- brush ColorBrush
- ColorBrush that determines the characteristics of the fill.
- rect RectangleF
- RectangleF structure that represents the rounded rectangle to fill.
- arcSize Single
- Size of the arcs on the rounded rectangle corners.
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).