cvs
Version:
A basic canvas framework for 2d drawing.
28 lines (26 loc) • 807 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>svglib</title>
</head>
<style>
</style>
<body>
<svg width="600" height="600" xmlns="http://www.w3.org/2000/svg" version="1.1">
<!-- <ellipse cx="80" cy="80" rx="50" ry="50" style="fill:yellow;stroke:purple;stroke-width:2"/> -->
<path d="M100 120
a 20 20, 0, 0, 1, 20, -20
h 60
a 20 20, 0, 0, 1, 20, 20
v 60
a 20 20, 0, 0, 1, -20, 20
h -60
a 20 20, 0, 0, 1, -20, -20" stroke="blue" fill="none"/>
</svg>
</html>