---
root:
  items:
    - type: clip
      id: 100
      complex:
        - rect: [20, 20, 100, 100]
          radius:
            top-left: [32, 16]
            top-right: [32, 16]
            bottom-right: [32, 16]
            bottom-left: [32, 16]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
    - type: clip-chain
      id: 200
      clips: [100]
    - type: rect
      bounds: [20, 20, 100, 100]
      color: red
      clip-chain: 200

    - type: clip
      id: 101
      complex:
        - rect: [130, 20, 100, 100]
          radius:
            top-left: [32, 16]
            top-right: [32, 16]
            bottom-right: [32, 16]
            bottom-left: [32, 16]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
          clip-mode: clip-out
    - type: clip-chain
      id: 201
      clips: [101]
    - type: rect
      bounds: [130, 20, 100, 100]
      color: green
      clip-chain: 201

    - type: clip
      id: 102
      complex:
        - rect: [20, 130, 100, 100]
          radius:
            top-left: [16, 32]
            top-right: [16, 32]
            bottom-right: [16, 32]
            bottom-left: [16, 32]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
    - type: clip-chain
      id: 202
      clips: [102]
    - type: rect
      bounds: [20, 130, 100, 100]
      color: red
      clip-chain: 202

    - type: clip
      id: 103
      complex:
        - rect: [130, 130, 100, 100]
          radius:
            top-left: [16, 32]
            top-right: [16, 32]
            bottom-right: [16, 32]
            bottom-left: [16, 32]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
          clip-mode: clip-out
    - type: clip-chain
      id: 203
      clips: [103]
    - type: rect
      bounds: [130, 130, 100, 100]
      color: green
      clip-chain: 203

    - type: clip
      id: 104
      complex:
        - rect: [20, 240, 100, 100]
          radius:
            top-left: [128, 32]
            top-right: [128, 32]
            bottom-right: [128, 32]
            bottom-left: [128, 32]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
    - type: clip-chain
      id: 204
      clips: [104]
    - type: rect
      bounds: [20, 240, 100, 100]
      color: red
      clip-chain: 204

    - type: clip
      id: 105
      complex:
        - rect: [130, 240, 100, 100]
          radius:
            top-left: [128, 32]
            top-right: [128, 32]
            bottom-right: [128, 32]
            bottom-left: [128, 32]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
          clip-mode: clip-out
    - type: clip-chain
      id: 205
      clips: [105]
    - type: rect
      bounds: [130, 240, 100, 100]
      color: green
      clip-chain: 205

    - type: clip
      id: 106
      complex:
        - rect: [20, 350, 100, 100]
          radius:
            top-left: [32, 128]
            top-right: [32, 128]
            bottom-right: [32, 128]
            bottom-left: [32, 128]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
    - type: clip-chain
      id: 206
      clips: [106]
    - type: rect
      bounds: [20, 350, 100, 100]
      color: red
      clip-chain: 206

    - type: clip
      id: 107
      complex:
        - rect: [130, 350, 100, 100]
          radius:
            top-left: [32, 128]
            top-right: [32, 128]
            bottom-right: [32, 128]
            bottom-left: [32, 128]
            shape-top-left: 0.5
            shape-top-right: +Inf
            shape-bottom-left: -2.1
            shape-bottom-right: 0
          clip-mode: clip-out
    - type: clip-chain
      id: 207
      clips: [107]
    - type: rect
      bounds: [130, 350, 100, 100]
      color: green
      clip-chain: 207
