summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/linear-aligned-clip-ref.yaml
blob: 08a395dc71d6cc15f99f4795eac9bb5242bd83fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
root:
  items:
    # an aligned gradient from [0, 400]
    - type: gradient
      bounds: 0 0 200 400
      start: 100 0
      end: 100 400
      stops: [0.0, green, 1.0, blue]
    # manual clipping
    - type: rect
      bounds: 0 0 200 100
      color: white
    - type: rect
      bounds: 0 300 200 100
      color: white