See Also Examples Applies To
Draws a linear gradient line into the native GdPicture image.
Syntax
object.DrawGradientLine (nSrcLeft, nSrcTop, nDstLeft, nDstTop, nPenWidth, nStartColor, nEndColor, bAntiAlias)
The DrawGradientLine syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nSrcLeft | Required. Long. Specifies the x-coordinate of the starting point of the line. |
| nSrcTop | Required. Long. Specifies the y-coordinate of the starting point of the line. |
| nDstLeft | Required. Long. Specifies the x-coordinate of the ending point of the line. |
| nDstTop | Required. Long. Specifies the y-coordinate of the ending point of the line. |
| nPenWidth | Required. Long. The width in pixel of the pen used to draw the line. |
| nStartColor | Required. Long. Start 32-bit Color (ARGB) of the line. |
| nEndColor | Required. Long. End 32-bit Color (ARGB) of the line. |
| bAntiAlias | Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False. |
Returns
Long. GdPictureStatus
Category
Draw (Lines and Shapes)