Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.
- x
Type: System. . :: . .Int32
The horizontal coordinate of the ellipse's center.
- y
Type: System. . :: . .Int32
The vertical coordinate of the ellipse's center.
- xRadius
Type: System. . :: . .Int32
The horizontal radius of the ellipse.
- yRadius
Type: System. . :: . .Int32
The vertical radius of the ellipse.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.