forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-radial-gradient.json
40 lines (40 loc) · 1.09 KB
/
div-radial-gradient.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"type": "object",
"$description": "translations.json#/div_gradient_radial",
"properties": {
"colors": {
"type": "array",
"items": {
"$ref": "common.json#/color"
},
"minItems": 2,
"clientMinItems": 2,
"$description": "translations.json#/div_gradient_colors"
},
"radius": {
"$ref": "div-radial-gradient-radius.json",
"default_value": "{\"type\": \"relative\", \"value\": \"farthest_corner\" }",
"$description": "translations.json#/div_gradient_radial_radius"
},
"center_x": {
"$ref": "div-radial-gradient-center.json",
"default_value": "{\"type\": \"relative\", \"value\": 0.5 }",
"$description": "translations.json#/div_gradient_radial_center_x"
},
"center_y": {
"$ref": "div-radial-gradient-center.json",
"default_value": "{\"type\": \"relative\", \"value\": 0.5 }",
"$description": "translations.json#/div_gradient_radial_center_y"
},
"type": {
"type": "string",
"enum": [
"radial_gradient"
]
}
},
"required": [
"colors",
"type"
]
}