Accusoft.PrintProSdk Namespace > Draw Class > Curve Method : Curve(PointF,PointF,PointF,PointF) Method |
'Declaration Public Overloads Sub Curve( _ ByVal startPoint As PointF, _ ByVal controlPoint1 As PointF, _ ByVal controlPoint2 As PointF, _ ByVal endPoint As PointF _ )
'Usage Dim instance As Draw Dim startPoint As PointF Dim controlPoint1 As PointF Dim controlPoint2 As PointF Dim endPoint As PointF instance.Curve(startPoint, controlPoint1, controlPoint2, endPoint)
public void Curve( PointF startPoint, PointF controlPoint1, PointF controlPoint2, PointF endPoint )
public: void Curve( PointF startPoint, PointF controlPoint1, PointF controlPoint2, PointF endPoint )
public: void Curve( PointF startPoint, PointF controlPoint1, PointF controlPoint2, PointF endPoint )
The curve starts at the StartPoint going toward ControlPoint1 and arrives at EndPoint coming from the direction of ControlPoint2. Usually, it will not pass through ControlPoint1 or ControlPoint2; these points are only there to provide directional information. The distance between StartPoint and ControlPoint1 determines "how long" the curve moves into direction ControlPoint2 before turning towards EndPoint.