[C#] | public int relativeLinearGradient(double[] gradient [, double angle [, double radius ]]); |
[VB] | Public Function relativeLinearGradient(gradient As Double() [, angle As Double [, radius As Double ]]) As Integer |
ChartDirector 7.1 (.NET Edition)
AngularMeter.
Usage
[C#] | public int relativeLinearGradient(double[] gradient [, double angle [, double radius ]]); |
[VB] | Public Function relativeLinearGradient(gradient As Double() [, angle As Double [, radius As Double ]]) As Integer |
Description
-1.0, 0x0000ff, 0.0, 0x00ff00, 1.0, 0xff0000
Arguments
Argument | Default | Description |
---|---|---|
gradient | (Mandatory) | An numeric array defining the color stops. Please refer to the description above for details. |
angle | 0 | The direction of the linear gradient line. It is specified as a clockwise angle in degrees, with 0 being the upward pointing direction. |
radius | -1 | The reference radius to define the relative distance. The default is the meter scale radius (set by AngularMeter.setMeter). |
Return Value