| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--xp.system.GradientBrush
Field Summary | |
| public | alphas: Array |
| An array of alpha values for the corresponding colors in the colors array; valid values are 0–100. If the value is less than 0, Flash uses 0. If the value is greater than 100, Flash uses 100. | |
| public | colors: Array |
| An array of RGB hex color values to be used in the gradient (for example, red is 0xFF0000, blue is 0x0000FF, and so on). | |
| public | matrix: Object |
| A transformation matrix that is an object with either of the following two sets of properties. | |
| public | ratios: Array |
| An array of color distribution ratios; valid values are 0–255. This value defines the percentage of the width where the color is sampled at 100 percent. | |
| public | rotation: Number |
| The rotation in radians of the gradient. | |
| public | type: String |
| Type of gradient. Either the string "linear" or the string "radial". | |
Constructor | |
| public | GradientBrush ( colors: Array, rotation: Number, ratios: Array) |
| Construct a new brush object | |
| public var alphas: Array |
| An array of alpha values for the corresponding colors in the colors array; valid values are 0–100. If the value is less than 0, Flash uses 0. If the value is greater than 100, Flash uses 100. |
| public var colors: Array |
| An array of RGB hex color values to be used in the gradient (for example, red is 0xFF0000, blue is 0x0000FF, and so on). |
| public var matrix: Object |
| A transformation matrix that is an object with either of the following two sets of properties. |
| public var ratios: Array |
| An array of color distribution ratios; valid values are 0–255. This value defines the percentage of the width where the color is sampled at 100 percent. |
| public var rotation: Number |
| The rotation in radians of the gradient. |
| public var type: String |
| Type of gradient. Either the string "linear" or the string "radial". |
|
| Construct a new brush object | |||||||||
|