-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.xhtml
103 lines (102 loc) · 6.28 KB
/
index.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>SVG paths: the arc command</title>
<link rel="stylesheet" href="http://rawgit.com/waldyrious/default.css/master/default.css" />
</head>
<body>
<h2>SVG elliptical arcs</h2>
<svg viewBox="0 0 1000 1200" version = "1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
<marker id="markerArrow" markerWidth="13" markerHeight="13" refX="2" refY="6" orient="auto">
<path d="M0,4 V8 L3,6 z" fill="crimson"/>
</marker>
<g stroke="black" stroke-width="3" fill="none">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: 0º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: small (0);</tspan>
<tspan x="50" dy="20">direction: counterclockwise (0)</tspan>
</text>
<path d="M 100 200 A 100 50 0.0 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 0 0 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(400,0)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: 0º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: small (0);</tspan>
<tspan x="50" dy="20">direction: clockwise (1)</tspan>
</text>
<path d="M 100 200 A 100 50 0.0 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 0.0 0 1 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(0,300)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: 0º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: large (1);</tspan>
<tspan x="50" dy="20">direction: counterclockwise (0)</tspan>
</text>
<path d="M 100 200 A 100 50 -15 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 1 0 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(400,300)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: 0º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: large (1);</tspan>
<tspan x="50" dy="20">direction: clockwise (1)</tspan>
</text>
<path d="M 100 200 A 100 50 -15 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -15 1 1 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(0,600)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: -15º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: small (0);</tspan>
<tspan x="50" dy="20">direction: counterclockwise (0)</tspan>
</text>
<path d="M 100 200 A 100 50 -44 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 0 0 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(400,600)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: -15º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: small (0);</tspan>
<tspan x="50" dy="20">direction: clockwise (1)</tspan>
</text>
<path d="M 100 200 A 100 50 -44 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -44 0 1 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(0,900)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: -15º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: large (1);</tspan>
<tspan x="50" dy="20">direction: counterclockwise (0)</tspan>
</text>
<path d="M 100 200 A 100 50 -45 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 1 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 1 0 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
<g stroke="black" stroke-width="3" fill="none" transform="translate(400,900)">
<text y="20" stroke="none" fill="black">
<tspan x="50" dy="0">rotation: -15º; radius-x: 100; radius-y: 50;</tspan>
<tspan x="50" dy="20">arc-size: large (1);</tspan>
<tspan x="50" dy="20">direction: clockwise (1)</tspan>
</text>
<path d="M 100 200 A 100 50 -45 0 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 0 1 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 1 0 250 150" stroke="silver"/>
<path d="M 100 200 A 100 50 -45 1 1 250 150" stroke="crimson" marker-end="url(#markerArrow)"/>
</g>
</svg>
</body>
</html>