| TYPE | NAME | DESCRIPTION |
|---|---|---|
| STRING | name | The gradient name ("" means current active gradient) |
| INT32 | sample_size | Size of the sample to return when the gradient is changed (0 < sample_size <= 10000) |
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| STRING | name | The gradient name |
| INT32 | width | The gradient sample width (r,g,b,a) |
| FLOATARRAY | grad_data | The gradient sample data |