Share via


DrawingContext.DrawEllipse Method

Draws an ellipse on the drawing surface.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void DrawEllipse (
         Brushbrush,
         Penpen,
         intx,
         inty,
         intxRadius,
         intyRadius
)

Parameters

  • brush
    The brush with which the ellipse is to be filled. This parameter is optional, and it can be a null value. If the value of brush is null, the ellipse is not filled.
  • pen
    The pen with which the outline of the ellipse is to be drawn. This parameter is optional, and it can be a null value. If the value of pen is null, no outline is drawn.
  • x
    The horizontal coordinate of the ellipse's center.
  • y
    The vertical coordinate of the ellipse's center
  • xRadius
    The horizontal radius of the ellipse.
  • yRadius
    The vertical radius of the ellipse.

Remarks

The drawing is not visible if the values of both the pen and brush parameters are null.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

DrawingContext Class
DrawingContext Members
Microsoft.SPOT.Presentation.Media Namespace