GraphicsExtensionsDrawEllipse Method
Draws an ellipse specified by a bounding
RectangleF structure.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public static void DrawEllipse(
this IGraphics g,
ColorPen pen,
RectangleF rect
)
<ExtensionAttribute>
Public Shared Sub DrawEllipse (
g As IGraphics,
pen As ColorPen,
rect As RectangleF
)
public:
[ExtensionAttribute]
static void DrawEllipse(
IGraphics^ g,
ColorPen^ pen,
RectangleF rect
)
[<ExtensionAttribute>]
static member DrawEllipse :
g : IGraphics *
pen : ColorPen *
rect : RectangleF -> unit
- g IGraphics
- pen ColorPen
- ColorPen that determines the color, width, and style of the ellipse.
- rect RectangleF
- RectangleF structure that defines the boundaries of 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).