ChartDirector Ver 4.0 (Perl Edition)

DrawArea.gradientColor


Usage

gradientColor(startX, startY, endX, endY, startColor, endColor)

Description

Creates a two-point gradient color.

Arguments

ArgumentDefaultDescription
startX(Mandatory)The x coordinate of the starting point of the gradient line segment.
startY(Mandatory)The y coordinate of the starting point of the gradient line segment.
endX(Mandatory)The x coordinate of the ending point of the gradient line segment.
endY(Mandatory)The y coordinate of the ending point of the gradient line segment.
startColor(Mandatory)The starting color.
endColor(Mandatory)The ending color.

Return Value

A 32-bit integer representing the gradient color.