div-radial-gradient
Radial gradient.
Parameters
Parameters | Description |
---|---|
type |
string Required parameter. The value must always be |
center_x |
object Shift of the central point of the gradient relative to the left edge along the X axis. The value has the type Default value: List of possible values: |
center_y |
object Shift of the central point of the gradient relative to the top edge along the Y axis. The value has the type Default value: List of possible values: |
color_map |
array Colors and positions of gradient points. When using this parameter, the The minimum number of elements is 2. Available platforms: web, iOS. |
colors |
array Colors. Gradient points are located at an equal distance from each other. The minimum number of elements is 2. |
radius |
object Radius of the gradient transition. The value has the type Default value: List of possible values: |
color_point
Parameters | Description |
---|---|
color |
string Required parameter. Gradient color corresponding to gradient point. Valid formats: |
position |
number Required parameter. The position of the gradient point. Restriction for the value |
JSON
{
type*: "radial_gradient",
center_x: div-radial-gradient-center,
center_y: div-radial-gradient-center,
color_map: [
{
color*: "string",
position*: "number"
},
...
],
colors: [ "string", ... ],
radius: div-radial-gradient-radius
}