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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
---
root:
items:
- type: stacking-context
bounds: [0, 0, 50, 50]
items:
- type: gradient # top left
bounds: [ 0, 0, 10, 10]
start: [ 25, 0 ]
end: [ 25, 50 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # top right
bounds: [ 40, 0, 10, 10]
start: [ -15, 0 ]
end: [ -15, 50 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # bottom left
bounds: [ 0, 40, 10, 10]
start: [ 25, -40 ]
end: [ 25, 10 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # bottom right
bounds: [ 40, 40, 10, 10]
start: [ -15, -40 ]
end: [ -15, 10 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # top
bounds: [ 10, 0, 30, 10]
start: [ 15, 0 ]
end: [ 15, 50 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # right
bounds: [ 40, 10, 10, 30]
start: [ -15, -10 ]
end: [ -15, 40 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # bottom
bounds: [ 10, 40, 30, 10]
start: [ 15, -40 ]
end: [ 15, 10 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
- type: gradient # left
bounds: [ 0, 10, 10, 30]
start: [ 25, -10 ]
end: [ 25, 40 ]
stops: [ 0.0, red, 1.0, green ]
repeat: false
|