Accusoft.PrintPro8.Net
Curve(PointF,PointF,PointF,PointF,Color) Method




A System.Drawing.PointF which represents the starting point of the bezier curve.
A System.Drawing.PointF which represents the first control point of the bezier curve.
A System.Drawing.PointF which represents the second control point of the bezier curve.
A System.Drawing.PointF which represents the end point of the bezier curve.
The System.Drawing.Color of the curve.
Draws a cubic bezier curve on a printer.
Syntax
'Declaration
 
Public Overloads Sub Curve( _
   ByVal startPoint As PointF, _
   ByVal controlPoint1 As PointF, _
   ByVal controlPoint2 As PointF, _
   ByVal endPoint As PointF, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As PointF
Dim controlPoint1 As PointF
Dim controlPoint2 As PointF
Dim endPoint As PointF
Dim color As Color
 
instance.Curve(startPoint, controlPoint1, controlPoint2, endPoint, color)
public void Curve( 
   PointF startPoint,
   PointF controlPoint1,
   PointF controlPoint2,
   PointF endPoint,
   Color color
)
public: void Curve( 
   PointF startPoint,
   PointF controlPoint1,
   PointF controlPoint2,
   PointF endPoint,
   Color color
) 
public:
void Curve( 
   PointF startPoint,
   PointF controlPoint1,
   PointF controlPoint2,
   PointF endPoint,
   Color color
) 

Parameters

startPoint
A System.Drawing.PointF which represents the starting point of the bezier curve.
controlPoint1
A System.Drawing.PointF which represents the first control point of the bezier curve.
controlPoint2
A System.Drawing.PointF which represents the second control point of the bezier curve.
endPoint
A System.Drawing.PointF which represents the end point of the bezier curve.
color
The System.Drawing.Color of the curve.
Remarks

The curve starts at 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.

See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback