ObjectID =  gradient .create  (  Way ,  Cylinder ,  Red ,  Green ,  Blue ,  Red ,  Green ,  Blue ,  Width ,  Height  )  
                                                                        
Description :

This instruction creates a gradient.

Parameters :

  • LEFT
    RIGHT
    UP
    DOWN
  • 0 (= no cylinder)
    1..n
  • Red component of the color. Valid in the range [0,255].
  • Green component of the color. Valid in the range [0,255].
  • Blue component of the color. Valid in the range [0,255].
  • Red component of the color. Valid in the range [0,255].
  • Green component of the color. Valid in the range [0,255].
  • Blue component of the color. Valid in the range [0,255].
  • Width of the gradient, expressed in pixels.
  • Height of the gradient, expressed in pixels.

Return Handle :

  • ObjectID of the gradient.

Notes :


The gradient progresses from one color to another in any single direction.

Examples :