border-image-round.yaml (1174B)
1 --- 2 root: 3 items: 4 - type: stacking-context 5 bounds: [0, 0, 500, 500] 6 items: 7 # The pattern fits exactly a whole number of times in the border. 8 - type: border 9 bounds: [ 50, 50, 192, 192 ] 10 width: 32 11 border-type: image 12 image-source: "border-image-src.png" 13 image-width: 96 14 image-height: 96 15 slice: [ 32 ] 16 repeat-vertical: round 17 repeat-horizontal: round 18 # The pattern has to be stretched to fit. 19 - type: border 20 bounds: [ 300, 50, 200, 200 ] 21 width: 32 22 border-type: image 23 image-source: "border-image-src.png" 24 image-width: 96 25 image-height: 96 26 slice: [ 32 ] 27 repeat-vertical: round 28 repeat-horizontal: round 29 # The pattern has to be shrunk to fit. 30 - type: border 31 bounds: [ 550, 50, 180, 180 ] 32 width: 32 33 border-type: image 34 image-source: "border-image-src.png" 35 image-width: 96 36 image-height: 96 37 slice: [ 32 ] 38 repeat-vertical: round 39 repeat-horizontal: round