DrawEllipse Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Draws an ellipse on the drawing surface.

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

Syntax

'Declaration
Public Sub DrawEllipse ( _
    brush As Brush, _
    pen As Pen, _
    x As Integer, _
    y As Integer, _
    xRadius As Integer, _
    yRadius As Integer _
)
public void DrawEllipse(
    Brush brush,
    Pen pen,
    int x,
    int y,
    int xRadius,
    int yRadius
)
public:
void DrawEllipse(
    Brush^ brush, 
    Pen^ pen, 
    int x, 
    int y, 
    int xRadius, 
    int yRadius
)
member DrawEllipse : 
        brush:Brush * 
        pen:Pen * 
        x:int * 
        y:int * 
        xRadius:int * 
        yRadius:int -> unit 
public function DrawEllipse(
    brush : Brush, 
    pen : Pen, 
    x : int, 
    y : int, 
    xRadius : int, 
    yRadius : int
)

Parameters

  • brush
    Type: Microsoft.SPOT.Presentation.Media. . :: . .Brush
    The brush with which the ellipse is to be filled. This parameter is optional, and it can be nullNothingnullptrunita null reference (Nothing in Visual Basic). If the value of brush is nullNothingnullptrunita null reference (Nothing in Visual Basic), the ellipse is not filled.
  • pen
    Type: Microsoft.SPOT.Presentation.Media. . :: . .Pen
    The pen with which the outline of the ellipse is to be drawn. This parameter is optional, and it can be nullNothingnullptrunita null reference (Nothing in Visual Basic). If the value of pen is nullNothingnullptrunita null reference (Nothing in Visual Basic), no outline is drawn.

Remarks

The drawing is not visible if the values of both the pen and brush parameters are null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace