| |
gradient |
.display | ( | Direction , | Cylinder , | Red , | Green , | Blue , | Red , | Green , | Blue , | PosX , | PosY , | Width , | Height | ) |
|
| |
|
| | | | | | | | | | | | | | |
|
|
Description :
This instruction displays a gradient in a specified area of the current Alambik screen.
Parameters :
-
LEFT
RIGHT
UP
DOWN
-
0 (no cylinder)
1..n
-
Red component of the first color. Valid in the range [0,255].
-
Green component of the first color. Valid in the range [0,255].
-
Blue component of the first color. Valid in the range [0,255].
-
Red component of the second color. Valid in the range [0,255].
-
Green component of the second color. Valid in the range [0,255].
-
Blue component of the second color. Valid in the range [0,255].
-
X component of the gradient's top left pixel position.
-
Y component of the gradient's top left pixel position.
-
Width of the gradient, expressed in pixels
-
Height of the gradient, expressed in pixels
Notes :
The gradient progresses from one color to another in any single direction.
Examples :
|