SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > DrawBezier Method : DrawBezier(WriteableBitmap,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Color) Method
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color.
DrawBezier(WriteableBitmap,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Color) Method
Draws a cubic Beziér spline defined by start, end and two control points.
Syntax
[Extension()]
public static void DrawBezier( 
   WriteableBitmap bmp,
   int x1,
   int y1,
   int cx1,
   int cy1,
   int cx2,
   int cy2,
   int x2,
   int y2,
   Color color
)

Parameters

bmp
The WriteableBitmap.
x1
The x-coordinate of the start point.
y1
The y-coordinate of the start point.
cx1
The x-coordinate of the 1st control point.
cy1
The y-coordinate of the 1st control point.
cx2
The x-coordinate of the 2nd control point.
cy2
The y-coordinate of the 2nd control point.
x2
The x-coordinate of the end point.
y2
The y-coordinate of the end point.
color
The color.
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