improved stretching of tiles

This commit is contained in:
Stephan Richter
2020-09-14 22:12:43 +02:00
parent 1e1b3f434f
commit 140414837b
8 changed files with 36 additions and 41 deletions

5
resources/svg/BlockV.svg Normal file
View File

@@ -0,0 +1,5 @@
<svg width="100" height="100" viewbox="0 0 100 100">
<rect x="35" y="0" width="30" height="%height%" />
<rect class="block" x="10" y="20" width="80" height="%height%-40" />
<text x="25" y="65" fill="red" transform="translate(100, 0) rotate(90)">%text%</text>
</svg>

After

Width:  |  Height:  |  Size: 268 B