|
1 <?xml version="1.0"?> |
|
2 <shapes xmlns:s="http://www.w3.org/2000/svg"> |
|
3 |
|
4 <borders label="Usage"> <!-- borders to use for component classes --> |
|
5 <border type="box"/> |
|
6 <border label="Imported Compo­nent" rule="unit/@prebuilt" type="hexagon"/> |
|
7 <border rule="CLASS('plugin')" label="Plugin" viewBox="0 0 20 20"> |
|
8 <s:path d="M 0 0 L 0 20 L 20 20 L 20 8 L 17.6 5.6 A 2.7 2.7 30 1 0 14.4 2.4 L12 0 z" stroke="black"/> |
|
9 </border> |
|
10 <border rule="CLASS('config')" type="box-clipAll" label="Config­uration"/> |
|
11 <border rule="CLASS('doc')" type="box-clipRT" label="Document­ation"/> |
|
12 <border rule="CLASS('api')" type="round" label="Inter­face"/> |
|
13 </borders> |
|
14 |
|
15 <!-- pattern sections are separate so mutiple ones can apply |
|
16 The order in here is they order they are overlaid over the component --> |
|
17 <patterns> |
|
18 <overlay rule="not(unit)" label="Place­holder"> |
|
19 <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14"> |
|
20 <s:stop offset="15%" stop-color="white" stop-opacity="0"/> |
|
21 <s:stop offset="20%" stop-color="white" stop-opacity="0.75"/> |
|
22 <s:stop offset="25%" stop-color="white" stop-opacity="0"/> |
|
23 <s:stop offset="35%" stop-color="white" stop-opacity="0"/> |
|
24 <s:stop offset="40%" stop-color="white" stop-opacity="0.75"/> |
|
25 <s:stop offset="45%" stop-color="white" stop-opacity="0"/> |
|
26 <s:stop offset="55%" stop-color="white" stop-opacity="0"/> |
|
27 <s:stop offset="60%" stop-color="white" stop-opacity="0.75"/> |
|
28 <s:stop offset="65%" stop-color="white" stop-opacity="0"/> |
|
29 </s:radialGradient> |
|
30 </overlay> |
|
31 </patterns> |
|
32 |
|
33 <patterns> |
|
34 <overlay rule="@purpose='development'" type="striped-diag-up" label="Test"/> |
|
35 </patterns> |
|
36 |
|
37 |
|
38 <!-- use VERSION function rather than compare @deprecated and @introduced directly (it resolves equivalent version numbers, eg 9.4 = ^2 --> |
|
39 <patterns> |
|
40 <overlay rule="@deprecated and (VERSION(@deprecated) <= VERSION('^2'))" label="Depre­cated in ^2" count=" (1)"> |
|
41 <s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10"> |
|
42 <s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="yellow" stroke-width="0.7" stroke-linecap="round"/> |
|
43 </s:pattern> |
|
44 </overlay> |
|
45 <overlay rule="VERSION(@deprecated)=VERSION('^3')" label="Depre­cated in ^3" count=" (1)"> |
|
46 <s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10"> |
|
47 <s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="blue" stroke-width="0.7" stroke-linecap="round"/> |
|
48 </s:pattern> |
|
49 </overlay> |
|
50 <overlay rule="VERSION(@deprecated)=VERSION('^4') " label="Depre­cated in ^4" count=" (1)"> |
|
51 <s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10"> |
|
52 <s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="yellow" stroke-width="0.7" stroke-linecap="round"/> |
|
53 </s:pattern> |
|
54 </overlay> |
|
55 </patterns> |
|
56 |
|
57 |
|
58 <patterns> |
|
59 <overlay rule="VERSION(@introduced) = VERSION('^2')" type="radial-grad" label="New in ^2" count=" (1)"/> |
|
60 <overlay rule="VERSION(@introduced) = VERSION('^3')" label="New in ^3" count=" (1)"> |
|
61 <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14"> |
|
62 <s:stop offset="0%" stop-color="yellow" stop-opacity="1"/> |
|
63 <s:stop offset="85%" stop-opacity="0" stop-color="white" /> |
|
64 <s:stop offset="100%" stop-opacity="0" stop-color="white" /> |
|
65 </s:radialGradient> |
|
66 </overlay> |
|
67 <overlay rule="VERSION(@introduced) = VERSION('^4')" label="New in ^4" count=" (1)"> |
|
68 <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14"> |
|
69 <s:stop offset="0%" stop-color="rgb(180 52 255)" stop-opacity="1"/> |
|
70 <s:stop offset="85%" stop-opacity="0" stop-color="white" /> |
|
71 <s:stop offset="100%" stop-opacity="0" stop-color="white" /> |
|
72 </s:radialGradient> |
|
73 </overlay> |
|
74 </patterns> |
|
75 |
|
76 <styles show-unused="yes"> |
|
77 <style>stroke-width: 0.5</style> |
|
78 <style rule="@purpose='mandatory'" label="Mandatory Compo­nent">stroke-width: 2</style> |
|
79 </styles> |
|
80 |
|
81 <!-- Foundation tech domain colours --> |
|
82 <colors default="grey" match="package" use="@tech-domain" label="Technology Domain"> |
|
83 <color color="tan" value="hb" label="OS Base Services" count=" (1)"/> |
|
84 <color color="rgb(228,14,98)" value="se" label="Security" count=" (1)"/> |
|
85 |
|
86 <color color="whitesmoke" value="lo" label="Location" count=" (1)"/> |
|
87 <color color="darkkhaki" value="vc" label="Personal Communications" count=" (1)"/> |
|
88 <color color="moccasin" value="dc" label="Data Communications" count=" (1)"/> |
|
89 <color color="orchid" value="de" label="Device Connectivity" count=" (1)"/> |
|
90 <color color="darkseagreen" value="dm" label="Device Management" count=" (1)"/> |
|
91 <color color="lightpink" value="pr" label="Productivity" count=" (1)"/> |
|
92 <color color="rgb(175,212,240)" value="mm" label="Multimedia" count=" (1)"/> |
|
93 <color color="#ffff00" value="ma" label="Multimedia Apps" count=" (1)"/> |
|
94 |
|
95 <color color="orange" value="ui" label="User Interface" count=" (1)"/> |
|
96 <color color="slateblue" value="rt" label="Runtimes and Web" count=" (1)"/> |
|
97 <color color="darkgray" value="to" label="Tools" count=" (1)"/> |
|
98 </colors> |
|
99 </shapes> |