<?xml version="1.0"?>
<shapes xmlns:s="http://www.w3.org/2000/svg">
<borders label="Usage"> <!-- borders to use for component classes -->
<border type="box"/>
<border label="Imported Compo­nent" rule="unit/@prebuilt" type="hexagon"/>
<border rule="CLASS('plugin')" label="Plugin" viewBox="0 0 20 20">
<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"/>
</border>
<border rule="CLASS('config')" type="box-clipAll" label="Config­uration"/>
<border rule="CLASS('doc')" type="box-clipRT" label="Document­ation"/>
<border rule="CLASS('api')" type="round" label="Inter­face"/>
</borders>
<!-- pattern sections are separate so mutiple ones can apply
The order in here is they order they are overlaid over the component -->
<patterns>
<overlay rule="not(unit)" label="Place­holder">
<s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
<s:stop offset="15%" stop-color="white" stop-opacity="0"/>
<s:stop offset="20%" stop-color="white" stop-opacity="0.75"/>
<s:stop offset="25%" stop-color="white" stop-opacity="0"/>
<s:stop offset="35%" stop-color="white" stop-opacity="0"/>
<s:stop offset="40%" stop-color="white" stop-opacity="0.75"/>
<s:stop offset="45%" stop-color="white" stop-opacity="0"/>
<s:stop offset="55%" stop-color="white" stop-opacity="0"/>
<s:stop offset="60%" stop-color="white" stop-opacity="0.75"/>
<s:stop offset="65%" stop-color="white" stop-opacity="0"/>
</s:radialGradient>
</overlay>
</patterns>
<patterns>
<overlay rule="@purpose='development'" type="striped-diag-up" label="Test"/>
</patterns>
<!-- use VERSION function rather than compare @deprecated and @introduced directly (it resolves equivalent version numbers, eg 9.4 = ^2 -->
<patterns>
<overlay rule="@deprecated and (VERSION(@deprecated) <= VERSION('^2'))" label="Depre­cated in ^2" count=" (1)">
<s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10">
<s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="yellow" stroke-width="0.7" stroke-linecap="round"/>
</s:pattern>
</overlay>
<overlay rule="VERSION(@deprecated)=VERSION('^3')" label="Depre­cated in ^3" count=" (1)">
<s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10">
<s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="blue" stroke-width="0.7" stroke-linecap="round"/>
</s:pattern>
</overlay>
<overlay rule="VERSION(@deprecated)=VERSION('^4') " label="Depre­cated in ^4" count=" (1)">
<s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10">
<s:path d="M 1 1 L 9 9 M 1 9 L 9 1" stroke="yellow" stroke-width="0.7" stroke-linecap="round"/>
</s:pattern>
</overlay>
</patterns>
<patterns>
<overlay rule="VERSION(@introduced) = VERSION('^2')" type="radial-grad" label="New in ^2" count=" (1)"/>
<overlay rule="VERSION(@introduced) = VERSION('^3')" label="New in ^3" count=" (1)">
<s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
<s:stop offset="0%" stop-color="yellow" stop-opacity="1"/>
<s:stop offset="85%" stop-opacity="0" stop-color="white" />
<s:stop offset="100%" stop-opacity="0" stop-color="white" />
</s:radialGradient>
</overlay>
<overlay rule="VERSION(@introduced) = VERSION('^4')" label="New in ^4" count=" (1)">
<s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
<s:stop offset="0%" stop-color="rgb(180 52 255)" stop-opacity="1"/>
<s:stop offset="85%" stop-opacity="0" stop-color="white" />
<s:stop offset="100%" stop-opacity="0" stop-color="white" />
</s:radialGradient>
</overlay>
</patterns>
<styles show-unused="yes">
<style>stroke-width: 0.5</style>
<style rule="@purpose='mandatory'" label="Mandatory Compo­nent">stroke-width: 2</style>
</styles>
<!-- Foundation tech domain colours -->
<colors default="grey" match="package" use="@tech-domain" label="Technology Domain">
<color color="tan" value="hb" label="OS Base Services" count=" (1)"/>
<color color="rgb(228,14,98)" value="se" label="Security" count=" (1)"/>
<color color="whitesmoke" value="lo" label="Location" count=" (1)"/>
<color color="darkkhaki" value="vc" label="Personal Communications" count=" (1)"/>
<color color="moccasin" value="dc" label="Data Communications" count=" (1)"/>
<color color="orchid" value="de" label="Device Connectivity" count=" (1)"/>
<color color="darkseagreen" value="dm" label="Device Management" count=" (1)"/>
<color color="lightpink" value="pr" label="Productivity" count=" (1)"/>
<color color="rgb(175,212,240)" value="mm" label="Multimedia" count=" (1)"/>
<color color="#ffff00" value="ma" label="Multimedia Apps" count=" (1)"/>
<color color="orange" value="ui" label="User Interface" count=" (1)"/>
<color color="slateblue" value="rt" label="Runtimes and Web" count=" (1)"/>
<color color="darkgray" value="to" label="Tools" count=" (1)"/>
</colors>
</shapes>