Node: Gradient Functions, Next: Other Functions, Previous: Display Functions, Up: Miscellaneous Functions
The gradient feature allows color gradients to be drawn in
images. (Evaluate (require 'gradient) to load this feature.)
| draw-vertical-gradient image from to | Function |
| Draw a vertical color gradient in image. The color at the top of the image will be from, the color at the bottom to, with a smooth transition between. |
| draw-horizontal-gradient image from to | Function |
| Draw a horizontal color gradient in image, from left to right. The color at the left of the image will be from, the color at the right to, with a smooth transition between. |
| draw-diagonal-gradient image from to | Function |
| Draw a horizontal color gradient in image, from the top-left corner to the bottom-right. The color at the top-left of the image will be from, the color at the bottom-right to, with a smooth transition between. |