GraphicsExtensionsFillEllipse Method
Fills the interior of an ellipse defined by a bounding rectangle specified by a
RectangleF structure.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public static void FillEllipse(
this IGraphics g,
ColorBrush brush,
RectangleF rect
)
<ExtensionAttribute>
Public Shared Sub FillEllipse (
g As IGraphics,
brush As ColorBrush,
rect As RectangleF
)
public:
[ExtensionAttribute]
static void FillEllipse(
IGraphics^ g,
ColorBrush^ brush,
RectangleF rect
)
[<ExtensionAttribute>]
static member FillEllipse :
g : IGraphics *
brush : ColorBrush *
rect : RectangleF -> unit
- g IGraphics
- brush ColorBrush
- ColorBrush that determines the characteristics of the fill.
- rect RectangleF
- RectangleF structure that represents the bounding rectangle that defines the ellipse.
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).