ChartDirector 5.1 (.NET Edition)
DrawArea.radialGradientColor
Usage
[VB] | Public Function radialGradientColor(cx As Integer, cy As Integer, rx As Integer, ry As Integer, startColor As Integer, endColor As Integer [, periodic As Boolean ]) As Integer |
[C#] | public int radialGradientColor(int cx, int cy, int rx, int ry, int startColor, int endColor [, bool periodic ]); |
Description
Creates a two-point radial gradient color.
Arguments
Argument | Default | Description |
cx | (Mandatory) | The x coordinate of the center of the radial gradient. |
cy | (Mandatory) | The y coordinate of the center of the radial gradient. |
rx | (Mandatory) | The horizontal radius of the radial gradient defining ellipse. |
ry | (Mandatory) | The vertical radius of the radial gradient defining ellipse. |
startColor | (Mandatory) | The color at the center of the gradient defining ellipse. |
endColor | (Mandatory) | The color at the perimeter of the gradient defining ellipse. |
periodic | false | Specifies whether the gradient will repeat itself periodically. If the gradient does not repeat itself, the points that lie outside the gradient defining ellipse will assume the color at the perimeter of the gradient defining ellipse. |
Return Value
A 32-bit integer representing the radial gradient color.
© 2012 Advanced Software Engineering Limited. All rights reserved.