blob: cfc668bc66bacf413c5e2ffac4cf0eda24e2a625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# A small radial gradient in a large primitive.
# Most of the primitive is the constant color of the last gradient stop,
# and webrender will try to optimize these parts by drawing them with
# solid color primitives.
---
root:
items:
- type: radial-gradient
bounds: 10 20 300 330
center: 160 155
radius: 10 15
stops: [0, [255.0,0,0,0.7], 1, [0,0,255.0,0.7]]
|