Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
771 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Text Testing</title>
  6. <link rel="stylesheet" href="../css/style.css">
  7. <script type="text/javascript" src="../../dist/paper-full.js"></script>
  8. <script type="text/paperscript" canvas="canvas">
  9. project.importSVG(document.getElementById('svg'));
  10. </script>
  11. </head>
  12. <body>
  13. <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="500" height="500" id="svg">
  14. <text x="20" y="15" stroke="green" fill="green" style="font:15px arial;" id="text">Plain SVG Text</text>
  15. <text x="20" y="50" fill="red" transform="rotate(30 20,40)" style="font:12px helvetica;">Rotated SVG Text</text>
  16. </svg>
  17. <canvas id="canvas" width="500" height="500"></canvas>
  18. </body>
  19. </html>