-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgauge.xml
executable file
·58 lines (49 loc) · 2.83 KB
/
gauge.xml
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
<Gauge2 coordWidth="1000" coordHeight="1000" left="0" top="0" bottom="0" right="0">
<!-- Background -->
<Gauge2CircularBorder width="1000" height="1000" centerX="500" centerY="500" strokeWidth="0">
<Gauge2CircularBorder.Filler>
<Gauge2RingGradientFiller color1="#000000" color2="#666666" thickness="5" highlightCenter="30"/>
</Gauge2CircularBorder.Filler>
</Gauge2CircularBorder>
<Gauge2CircularBorder width="880" height="880" centerX="500" centerY="500" strokeWidth="20" stroke="#000000">
<Gauge2CircularBorder.Filler>
<Gauge2RingGradientFiller color1="#202020" color2="#060606" xpos="50" ypos="50" thickness="15" highlightCenter="100"/>
</Gauge2CircularBorder.Filler>
</Gauge2CircularBorder>
<!-- Label background -->
<Gauge2RectangularBorder centerX="500" centerY="750" width="200" height="100" stroke="#DDDDFF" strokeWidth="5" arcSize="30">
<Gauge2RectangularBorder.Filler>
<Gauge2LinearGradientFiller color1="#002448" color2="#000F1E" angle="0"/>
</Gauge2RectangularBorder.Filler>
</Gauge2RectangularBorder>
<!-- Label -->
<Gauge2Label id="label" text="30" font="65 Arial Black" foreColor="#DDDDFF" x="500" y="748" anchorHorizontal="center" anchorVertical="center"/>
<!-- Range -->
<Gauge2RadialRange centerX="500" centerY="500" width="1000" height="1000" startAngle="-135" endAngle="135">
<!-- Scale -->
<Gauge2RadialScale radius="350" startValue="0" endValue="100">
<!-- Scale Selection -->
<Gauge2RadialScaleSection sectionWidth="15" color="#DDDDFF" radius="300" startValue="0" endValue="100"/>
</Gauge2RadialScale>
<!-- Ticks -->
<Gauge2RadialTicks tickWidth="5" tickLength="30" color="#9999BB" tickCount="11" radius="300"/>
<Gauge2RadialTicks tickWidth="2" tickLength="15" color="#9999BB" tickCount="41" radius="300"/>
<!-- Scale -->
<Gauge2RadialScale font="60 Arial Black" foreColor="#444466" radius="365" startValue="0" endValue="100" labelCount="11">
<!-- Needle -->
<Gauge2RadialNeedle id="needle" value="30" stroke="#000000" strokeWidth="1"
innerRadius="0" innerWidth="30"
outerRadius="270" outerWidth="5">
<Gauge2RadialNeedle.Filler>
<Gauge2RadialGradientFiller color1="#557799" color2="#335577"/>
</Gauge2RadialNeedle.Filler>
</Gauge2RadialNeedle>
</Gauge2RadialScale>
<!-- Cap -->
<Gauge2BasicCap width="80" height="80">
<Gauge2BasicCap.Filler>
<Gauge2RingGradientFiller color1="#666666" color2="#262626" thickness="20" highlightCenter="100"/>
</Gauge2BasicCap.Filler>
</Gauge2BasicCap>
</Gauge2RadialRange>
</Gauge2>