You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Drawing (Shapes) > DrawGradientCurve Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.DrawGradientCurve Method

Draws a linear gradient curve on a GdPicture image.

C#
public GdPictureStatus DrawGradientCurve(
    int ImageID, 
    System.Drawing.Point arPoints, 
    int PenWidth, 
    Color StartColor, 
    Color EndColor, 
    Boolean AntiAlias
);
Visual Basic
Public Function DrawGradientCurve(
    ByVal ImageID As Integer, 
    ByVal arPoints() As System.Drawing.Point, 
    ByVal PenWidth As Integer, 
    ByVal StartColor As Color, 
    ByVal EndColor As Color, 
    ByVal AntiAlias As Boolean
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
arPoints 
Array of System.Drawing.Point that specifies the coordinates that the cardinal spline passes through.  
PenWidth 
The width in pixel of the pen used to draw the curve.  
StartColor 
Color Object. You can build a Color Object using the ARGB() function. Start color of the curve.  
EndColor 
Color Object. You can build a Color Object using the ARGB() function. End color of the curve.  
AntiAlias 
Set to True to apply the Antialiasing algorithm else False.  
Returns

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.