# IK Gradient Radial

IK Gradient Radial Image Number, X, Y, Start Radius, End Radius, Color1, Color2, Channel, Mode

## Description

Draws a radial gradient. You can use the Mode parameter to control how it is drawn by specifying any combination of flags (see list). A flag can be combined by adding them together. By using the Channel parameter, you can mask channels for the gradient. This command does not work on render targets, but the same effect can be achieved using the effect commands of Image Kit and a pixel shader.
A list of available modes are:

Constant name | Constant | Description
GRADIENT_FILLSTART | 1 | If this flag is specified, the area before the gradient will be colored with Color1.
GRADIENT_FILLEND | 2 | If this flag is specified, the area behind the gradient will be colored with Color2.

## Parameters

Image Number | Integer | The ID of the image.
X | Integer | The X coordinate of the center of the radial gradient.
Y | Integer | The Y coordinate of the center of the radial gradient.
Start Radius | Integer | The radius of the starting point of the radial gradient.
End Radius | Integer | The radius of the ending point of the radial gradient.
Color1 | DWORD | The color of the starting point of the gradient.
Color2 | DWORD | The color of the ending point of the color.
Channel | DWORD | The channel(s) used for the gradient.
Mode | Integer | The draw mode of the gradient.

Index