SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > FillEllipseCentered Method : FillEllipseCentered(BitmapContext,Int32,Int32,Int32,Int32,Int32,BlendMode) Method
The BitmapContext.
The x-coordinate of the ellipses center.
The y-coordinate of the ellipses center.
The radius of the ellipse in x-direction.
The radius of the ellipse in y-direction.
The color for the line.
The blend mode. BlendMode.Alpha is the default mode.
FillEllipseCentered(BitmapContext,Int32,Int32,Int32,Int32,Int32,BlendMode) Method
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf Uses a different parameter representation than DrawEllipse().
Syntax
[Extension()]
public static void FillEllipseCentered( 
   BitmapContext context,
   int xc,
   int yc,
   int xr,
   int yr,
   int color,
   WriteableBitmapExtensions.BlendMode blendMode
)

Parameters

context
The BitmapContext.
xc
The x-coordinate of the ellipses center.
yc
The y-coordinate of the ellipses center.
xr
The radius of the ellipse in x-direction.
yr
The radius of the ellipse in y-direction.
color
The color for the line.
blendMode
The blend mode. BlendMode.Alpha is the default mode.
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