'DeclarationPublic Overloads 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
public GdPictureStatus DrawGradientLine( int ImageID, int SrcLeft, int SrcTop, int DstLeft, int DstTop, int PenWidth, Color StartColor, Color EndColor, bool AntiAlias )
public function DrawGradientLine( ImageID: Integer; SrcLeft: Integer; SrcTop: Integer; DstLeft: Integer; DstTop: Integer; PenWidth: Integer; StartColor: Color; EndColor: Color; AntiAlias: Boolean ): GdPictureStatus;
public function DrawGradientLine( ImageID : int, SrcLeft : int, SrcTop : int, DstLeft : int, DstTop : int, PenWidth : int, StartColor : Color, EndColor : Color, AntiAlias : boolean ) : GdPictureStatus;
public: GdPictureStatus DrawGradientLine( int ImageID, int SrcLeft, int SrcTop, int DstLeft, int DstTop, int PenWidth, Color StartColor, Color EndColor, bool AntiAlias )
public: GdPictureStatus DrawGradientLine( int ImageID, int SrcLeft, int SrcTop, int DstLeft, int DstTop, int PenWidth, Color StartColor, Color EndColor, bool AntiAlias )
Parameters
- 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
- Starting color of the gradient line, as Color object. A suitable color value can be obtained by using the ARGB() method.
- EndColor
- Ending color of the gradient line, as Color object. A suitable color value can be obtained by using the ARGB() method.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.
