SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > DrawEllipseCentered Method : DrawEllipseCentered(BitmapContext,Int32,Int32,Int32,Int32,Int32,Int32) 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 thickness for the line.
DrawEllipseCentered(BitmapContext,Int32,Int32,Int32,Int32,Int32,Int32) Method
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf Uses a different parameter representation than DrawEllipse().
Syntax
public static void DrawEllipseCentered( 
   BitmapContext context,
   int xc,
   int yc,
   int xr,
   int yr,
   int color,
   int thickness
)

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.
thickness
The thickness 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