Source code
Revision control
Copy as Markdown
Other Tools
---
# A nine-patch descriptor with a zero width/height used to lead to
# should now render nothing (see border-image-empty-ref.yaml).
root:
items:
- type: stacking-context
bounds: [0, 0, 500, 500]
items:
- type: rect
bounds: [ 100, 100, 192, 192 ]
color: green
- type: border
bounds: [ 100, 100, 192, 192 ]
width: 32
border-type: image
image-source: "border-image-src.png"
image-width: 0
image-height: 32
slice: [ 3, 3, 3, 3 ]
repeat-vertical: stretch
repeat-horizontal: stretch
fill: true