Dundas Chart for Windows Forms
DrawBezier Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Svg Namespace > SvgRendering Class : DrawBezier Method


pt1
Point structure that represents the starting point of the curve.
pt2
Point structure that represents the first control point for the curve.
pt3
Point structure that represents the second control point for the curve.
pt4
Point structure that represents the ending point of the curve.
Draws a Bézier spline defined by four Point structures.

Syntax

Visual Basic (Declaration)  
Public Sub DrawBezier( _
   ByVal pt1 As PointF, _
   ByVal pt2 As PointF, _
   ByVal pt3 As PointF, _
   ByVal pt4 As PointF _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgRendering
Dim pt1 As PointF
Dim pt2 As PointF
Dim pt3 As PointF
Dim pt4 As PointF
 
instance.DrawBezier(pt1, pt2, pt3, pt4)
C#  
public void DrawBezier( 
   PointF pt1,
   PointF pt2,
   PointF pt3,
   PointF pt4
)

Parameters

pt1
Point structure that represents the starting point of the curve.
pt2
Point structure that represents the first control point for the curve.
pt3
Point structure that represents the second control point for the curve.
pt4
Point structure that represents the ending point of the curve.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.