<?xml version="1.0" encoding="utf-8"?>
<button>
	<title>Frame</title>
	<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
		<defs>
			<filter id="shadowFilter">
				<feGaussianBlur stdDeviation="3" />
			</filter>
		</defs>
		<image id="image" x="5%" y="5%" width="90%" height="90%" opacity="1.0" preserveAspectRatio="xmidymid slice"/>
		<use id="shadow" xlink:href="#rect" x="2" y="2" style="visibility:hidden;fill:none;stroke:#404040;filter:url(#shadowFilter)" />
		<g id="main" stroke="#FFFFFF" fill="none">
			<rect id="rect" x="5%" y="5%" width="90%" height="90%" rx="5" ry="5" stroke-width="5"/>
		</g>
	</svg>
	<parameters>
		<parameter>
			<title>Image</title>
			<name>href</name>
			<type>image</type>
			<element>image</element>
			<attribute>xlink:href</attribute>
		</parameter>
		<parameter>
			<title>Image opacity</title>
			<name>opacity</name>
			<type>percent</type>
			<element>image</element>
			<attribute>opacity</attribute>
		</parameter>
		<parameter>
			<title>Rx</title>
			<name>rx</name>
			<type>integer</type>
			<element>rect</element>
			<attribute>rx</attribute>
		</parameter>
		<parameter>
			<title>Ry</title>
			<name>ry</name>
			<type>integer</type>
			<element>rect</element>
			<attribute>ry</attribute>
		</parameter>
		<parameter>
			<title>Border width</title>
			<name>stroke-width</name>
			<type>integer</type>
			<element>rect</element>
			<attribute>stroke-width</attribute>
		</parameter>
		<parameter>
			<title>Shadow</title>
			<name>shadow</name>
			<type>shadow</type>
			<element>shadow</element>
			<attribute>stroke</attribute>
		</parameter>
		<parameter>
			<title>Border colour</title>
			<name>stroke</name>
			<type>colour</type>
			<element>main</element>
			<attribute>stroke</attribute>
			<changeable/>
			<default-value>
				<highlighted>#0000FF</highlighted>
				<selected>#FF0000</selected>
			</default-value>
		</parameter>
		<parameter>
			<title>Inner colour</title>
			<name>fill</name>
			<type>colour</type>
			<element>main</element>
			<attribute>fill</attribute>
			<changeable/>
			<default-value>
				<highlighted>none</highlighted>
				<selected>none</selected>
			</default-value>
		</parameter>
	</parameters>
	<init-parameter>href</init-parameter>
	<default-size>
		<width>160</width>
		<height>120</height>
	</default-size>
	<min-size>
		<width>8</width>
		<height>8</height>
	</min-size>
</button>
