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




A System.Drawing.Point which represents the starting point of the bezier curve.
A System.Drawing.Point which represents the first control point of the bezier curve.
A System.Drawing.Point which represents the second control point of the bezier curve.
A System.Drawing.Point 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 Point, _
   ByVal controlPoint1 As Point, _
   ByVal controlPoint2 As Point, _
   ByVal endPoint As Point, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As Point
Dim controlPoint1 As Point
Dim controlPoint2 As Point
Dim endPoint As Point
Dim color As Color
 
instance.Curve(startPoint, controlPoint1, controlPoint2, endPoint, color)
public void Curve( 
   Point startPoint,
   Point controlPoint1,
   Point controlPoint2,
   Point endPoint,
   Color color
)
public: void Curve( 
   Point startPoint,
   Point controlPoint1,
   Point controlPoint2,
   Point endPoint,
   Color color
) 
public:
void Curve( 
   Point startPoint,
   Point controlPoint1,
   Point controlPoint2,
   Point endPoint,
   Color color
) 

Parameters

startPoint
A System.Drawing.Point which represents the starting point of the bezier curve.
controlPoint1
A System.Drawing.Point which represents the first control point of the bezier curve.
controlPoint2
A System.Drawing.Point which represents the second control point of the bezier curve.
endPoint
A System.Drawing.Point 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