Version

DrawBezier Method (IGraphics)

Draws a cubic Bezier spline.
Syntax
'Declaration
 
Sub DrawBezier( _
   ByVal x1 As Single, _
   ByVal y1 As Single, _
   ByVal x2 As Single, _
   ByVal y2 As Single, _
   ByVal x3 As Single, _
   ByVal y3 As Single, _
   ByVal x4 As Single, _
   ByVal y4 As Single _
) 
void DrawBezier( 
   float x1,
   float y1,
   float x2,
   float y2,
   float x3,
   float y3,
   float x4,
   float y4
)

Parameters

x1
X-coordinate of the starting point of the curve.
y1
Y-coordinate of the starting point of the curve.
x2
X-coordinate of the first control point of the curve.
y2
Y-coordinate of the first control point of the curve.
x3
X-coordinate of the second control point of the curve.
y3
Y-coordinate of the second control point of the curve.
x4
X-coordinate of the ending point of the curve.
y4
Y-coordinate of the ending point of the curve.
Remarks
This method draws a cubic bezier curve; as such, four points are required or an exception will be thrown.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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