We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa221e6 commit aea1e76Copy full SHA for aea1e76
demo/demo_oo_text.php
@@ -43,17 +43,17 @@
43
<svg
44
xmlns:svg="http://www.w3.org/2000/svg"
45
xmlns="http://www.w3.org/2000/svg"
46
- width="180pt"
47
- height="180pt"
48
- viewBox="0 0 120 120">
+ width="90pt"
+ height="90pt"
+ viewBox="0 0 480 240">
49
<rect
50
- x="0" y="0" width="120" height="120"
+ x="0" y="0" width="100%" height="100%"
51
style="fill:#BEBEBE;stroke:black;stroke-width:1;fill-opacity:1;stroke-apacity:0.5"
52
/>
53
<text
54
text-anchor="middle" dominant-baseline="auto"
55
- font-family="Arial" font-size="10pt" fill="red"
56
- transform="translate(60,65) rotate(45)">
+ font-family="Arial" font-size="20pt" fill="red"
+ transform="translate(240,130) rotate(45)">
57
REPLACED SVG IMAGE
58
</text>
59
</svg>
0 commit comments