Multiple Image Resizer .NET v4.5.2
Help Documentation
Contents

Scripting Function - CreateFillLinearGradient

The function creates a linear gradient fill that will be used inconjunction with AddText, AddTextByPosition and AddBorder functions.

 

Syntax

CreateFillLinearGradient userfillname As StringValue, colorone As ArgbColorValue, colortwo As ArgbColorValue, gradientangle As IntegerValueGreaterEqualZero

 

Parameters

userfillname - the name that you want to assign to the fill you are creating

colorone - the first color for the fill

colortwo - the second color for the fill

gradientangle - the angle in degrees of the gradient between the first and second color

 

Example

The following creates a gradient fill named "Fill2" between the colors red and blue and an angle of 60 degrees:

CreateFillLinearGradient "Fill2", Argb(255, 255, 0, 0), Argb(255, 0, 0, 255), 60

 

Version Information

Supported in Multiple Image Resizer .NET v2.0.0.0

 

See Also