DrawBezier Method

See Also     Examples     Applies To

Draws a Bezier spline into the native image.

Syntax

object.DrawBezier (nX1, nY1, nX2, nY2, nX3, nY3, nX4, nY4, nPenWidth, nColor, bAntiAlias)

The DrawBezier syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nX1 Required. Long. Specifies the x-coordinate of the starting point of the Bezier spline.
nY1 Required. Long. Specifies the y-coordinate of the starting point of the Bezier spline.
nX2 Required. Long. Specifies the x-coordinate of the first control point of the Bezier spline.
nY2 Required. Long. Specifies the y-coordinate of the first control point of the Bezier spline.
nX3 Required. Long. Specifies the x-coordinate of the second control point of the Bezier spline.
nY3 Required. Long. Specifies the y-coordinate of the second control point of the Bezier spline.
nX4 Required. Long. Specifies the x-coordinate of the second control point of the Bezier spline.
nY4 Required. Long. Specifies the y-coordinate of the second control point of the Bezier spline.
nPenWidth Required. Long. The width in pixel of the pen used to draw the arc.
nColor Optional. Long. Default value is Black. ARGB long color value of the arc.
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

ImagingStatus

Remarks

The ImagingStatus constants are defined HERE

Category

Draw (Lines and Shapes)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.