SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > FillEllipse Method : FillEllipse(WriteableBitmap,Int32,Int32,Int32,Int32,Int32) Method
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color for the line.
FillEllipse(WriteableBitmap,Int32,Int32,Int32,Int32,Int32) Method
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf x2 has to be greater than x1 and y2 has to be greater than y1.
Syntax
[Extension()]
public static void FillEllipse( 
   WriteableBitmap bmp,
   int x1,
   int y1,
   int x2,
   int y2,
   int color
)

Parameters

bmp
The WriteableBitmap.
x1
The x-coordinate of the bounding rectangle's left side.
y1
The y-coordinate of the bounding rectangle's top side.
x2
The x-coordinate of the bounding rectangle's right side.
y2
The y-coordinate of the bounding rectangle's bottom side.
color
The color for the line.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also