Kaliko.ImageLibrary
GradientFill(Point,Point,Color,Color) Method
Makes a gradient fill from point 1 to point 2 from one color to another.
Syntax
'Declaration
Public Overloads Sub GradientFill( _ ByVal pointFrom As System.Drawing.Point, _ ByVal pointTo As System.Drawing.Point, _ ByVal colorFrom As System.Drawing.Color, _ ByVal colorTo As System.Drawing.Color _ )
'Usage
Dim instance As KalikoImage Dim pointFrom As System.Drawing.Point Dim pointTo As System.Drawing.Point Dim colorFrom As System.Drawing.Color Dim colorTo As System.Drawing.Color instance.GradientFill(pointFrom, pointTo, colorFrom, colorTo)
public void GradientFill( System.Drawing.Point pointFrom, System.Drawing.Point pointTo, System.Drawing.Color colorFrom, System.Drawing.Color colorTo )
public procedure GradientFill( pointFrom: System.Drawing.Point; pointTo: System.Drawing.Point; colorFrom: System.Drawing.Color; colorTo: System.Drawing.Color );
public function GradientFill( pointFrom : System.Drawing.Point, pointTo : System.Drawing.Point, colorFrom : System.Drawing.Color, colorTo : System.Drawing.Color );
Parameters
- pointFrom
- pointTo
- colorFrom
- colorTo
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also