ColorGradient
Creates a pixmap with a vertical linear colour gradient between two colours.
Syntax
-
ColorGradient(w, h, c0, c1)-
wandhare positive integers -
c0andc1are colours
-
Description
ColorGradient(w, h, c0, c1) returns a w×h pixmap containing a vertical linear gradient from c0 (top) to c1 (bottom).
Examples
ColorGradient(200, 200, "yellow", "black")
