Skip to content

f_Gradient

rasberry edited this page Nov 5, 2025 · 1 revision

Gradient

Usage

 Draws a Gradient
 -g (GradientKind)            Gradient Shape (default Linear)
 -d (DirectionKind)           Gradient Direction (default Forward)
 -ps (x,y)                    Staring point coordinates
 -pe (x,y)                    Ending point coordinates
 -pps (x,y)                   Staring point relative(%) coordinates
 -ppe (x,y)                   Ending point relative(%) coordinates
 -s (number)                  Gradient speed multiplier (default 1.0)
 -o (number)                  Gradient color offset (default 0.0)
 -r                           Restrict gradient to area defined by the coordinates
 --gradient (name)            Use a (registered) gradient (defaults to 'FullRGB')
 --metric (name)              Use a (registered) distance metric (defaults to euclidean)

 Available Gradient Shapes:
 0. Linear
 1. Radial
 2. Square
 3. Conical
 4. Bilinear

 Available Gradient Directions:
 0. Forward
 1. Backward
 2. ForBack
 3. BackFor

Examples

Images
Default Gradient-0
--gradient Gimp Tube Red Gradient-1
-ps 40,20 -pe 250,120 -r Gradient-2
-pps 10%,10% -ppe 90%,50% -s 2.0 Gradient-3
-pps 0.5,0.4 -ppe 0.9,0.5 -g Conical Gradient-4
--gradient Gimp Tube Red -g Radial -d ForBack -o 0.5 Gradient-5

Clone this wiki locally