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