ChartDirector Ver 4.1 (ColdFusion Edition)
DrawArea.gradientColor2
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
colorArray | (Mandatory) | An array defining the positions and colors of the pixels along the reference gradient line segment. |
angle | 90 | The direction of the reference gradient line segment in degrees, measured clockwise, with 0 degree as the upward pointing direction. The default direction is horizontal from left to right (90 degrees). |
scale | 1.0 | The scaling factor for the reference gradient line segment. By default, the reference gradient line segment is 256 pixels in length. The scaling factor can be use to stretch or compress the gradient line segment. |
startX | 0 | The x coordinate of the starting point of the reference gradient line segment. |
startY | 0 | The y coordinate of the starting point of the reference gradient line segment. |
Return Value