Source code

Revision control

Copy as Markdown

Other Tools

# 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]]