'Declaration
Public Overloads Function DrawBezier( _ ByVal ImageID As Integer, _ ByVal Left1 As Single, _ ByVal Top1 As Single, _ ByVal Left2 As Single, _ ByVal Top2 As Single, _ ByVal Left3 As Single, _ ByVal Top3 As Single, _ ByVal Left4 As Single, _ ByVal Top4 As Single, _ ByVal PenWidth As Single, _ ByVal PenColor As Integer, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawBezier( int ImageID, float Left1, float Top1, float Left2, float Top2, float Left3, float Top3, float Left4, float Top4, float PenWidth, int PenColor, bool AntiAlias )
public function DrawBezier( ImageID: Integer; Left1: Single; Top1: Single; Left2: Single; Top2: Single; Left3: Single; Top3: Single; Left4: Single; Top4: Single; PenWidth: Single; PenColor: Integer; AntiAlias: Boolean ): GdPictureStatus;
public function DrawBezier( ImageID : int, Left1 : float, Top1 : float, Left2 : float, Top2 : float, Left3 : float, Top3 : float, Left4 : float, Top4 : float, PenWidth : float, PenColor : int, AntiAlias : boolean ) : GdPictureStatus;
Parameters
- ImageID
- GdPicture image identifier.
- Left1
- Specifies the x-coordinate of the starting point of the Bezier spline.
- Top1
- Specifies the y-coordinate of the starting point of the Bezier spline.
- Left2
- Specifies the x-coordinate of the first control point of the Bezier spline.
- Top2
- Specifies the y-coordinate of the first control point of the Bezier spline.
- Left3
- Specifies the x-coordinate of the second control point of the Bezier spline.
- Top3
- Specifies the y-coordinate of the second control point of the Bezier spline.
- Left4
- Specifies the x-coordinate of the ending point of the Bezier spline.
- Top4
- Specifies the y-coordinate of the ending point of the Bezier spline.
- PenWidth
- The width, in pixel, of the pen used to draw the arc.
- PenColor
- Color of the Bezier spline. A suitable color value can be obtained by using the ARGBI() method.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.