Draws a linear gradient line on a GdPicture image.
public GdPictureStatus DrawGradientLine( int ImageID, int SrcLeft, int SrcTop, int DstLeft, int DstTop, int PenWidth, Color StartColor, Color EndColor, Boolean AntiAlias );
Public Function DrawGradientLine( ByVal ImageID As Integer, ByVal SrcLeft As Integer, ByVal SrcTop As Integer, ByVal DstLeft As Integer, ByVal DstTop As Integer, ByVal PenWidth As Integer, ByVal StartColor As Color, ByVal EndColor As Color, ByVal AntiAlias As Boolean ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
SrcLeft |
Specifies the x-coordinate of the starting point of the line. |
|
SrcTop |
Specifies the y-coordinate of the starting point of the line. |
|
DstLeft |
Specifies the x-coordinate of the ending point of the line. |
|
DstTop |
Specifies the y-coordinate of the ending point of the line. |
|
PenWidth |
The width in pixel of the pen used to draw the line. |
|
StartColor |
Color Object. You can build a Color Object using the ARGB() function. Start color of the line. |
|
EndColor |
Color Object. You can build a Color Object using the ARGB() function. End color of the line. |
|
AntiAlias |
Set to True to apply the Antialiasing algorithm else False. |
A member of the GdPictureStatus enumeration.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|