| Platform | Since |
|---|---|
| iPhone | 1.8.0 |
| iPad | 1.8.0 |
A simple object defining a color gradient.
| Name | Summary |
|---|---|
| getBackfillEnd |
Gets the value of the backfillEnd property. |
| getBackfillStart |
Gets the value of the backfillStart property. |
| getColors |
Gets the value of the colors property. |
| getEndPoint |
Gets the value of the endPoint property. |
| getEndRadius |
Gets the value of the endRadius property. |
| getStartPoint |
Gets the value of the startPoint property. |
| getStartRadius |
Gets the value of the startRadius property. |
| getType |
Gets the value of the type property. |
| setBackfillEnd |
Sets the value of the backfillEnd property. |
| setBackfillStart |
Sets the value of the backfillStart property. |
| setColors |
Sets the value of the colors property. |
| setEndPoint |
Sets the value of the endPoint property. |
| setEndRadius |
Sets the value of the endRadius property. |
| setStartPoint |
Sets the value of the startPoint property. |
| setStartRadius |
Sets the value of the startRadius property. |
| setType |
Sets the value of the type property. |
| Name | Type | Summary |
|---|---|---|
| backfillEnd | Boolean |
Set to |
| backfillStart | Boolean |
Set to |
| colors | Array<String> or Array<GradientColorRef> |
An array of colors. |
| endPoint | Point |
End point for the gradient. |
| endRadius | Number |
For a radial gradient, the radius at the |
| startPoint | Point |
Start point for the gradient. |
| startRadius | Number |
For a radial gradient, the radius at the |
| type | String |
Type of gradient, either 'linear' or 'radial'. |