<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Fabric Canvas Plugin Demo</AppTitle>
	<AppShortName>Fabric</AppShortName>
	<Author>Luis Hernandez</Author>
	<Version>2.0</Version>
	<Description>Fabric Canvas Plugin Demo</Description>
	<DesignDeviceName>GenericTablet</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>768</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\OneDrive\Documentos\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<CustomCSS>button,input{
  font-family:sans-serif;
  font-size:12px!important;
  text-align:left!important;
  padding-top:0px;
  margin-top:10px;
  font-weight:bold;
  padding-left:0px;
}
button i{
  margin-right:5px;
  margin-left:0px;
}</CustomCSS>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>OfflineCopyOfPages</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>slLoadGoogleFont &quot;Oswald&quot;
slLoadJS &quot;https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js&quot;
slLoadJS &quot;https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2014-11-29/FileSaver.min.js&quot;</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="prueba">
					<Code>AlertBox &quot;Prueba&quot; &quot;¡Correcto!&quot; &quot;&quot;</Code>
					<Params>[containerId]|OBJID|Select a Fabric initializazed Container Object</Params>
				</Function>
				<Function name="prueba2">
					<Code>window.open(window[&quot;Canvas&quot;+containerId].toDataURL(&apos;png&apos;));</Code>
					<Params>containerId|OBJID|Select an initializazed Container Object</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries">
			<Components>
				<LibraryItem>
					<FileName>https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css</FileName>
				</LibraryItem>
			</Components>
		</LibraryList>
		<PageList name="Main">
			<Components>
				<Page id="home">
					<style>background-color:#E0E0E0</style>
					<pageenter>AppBackgroundColor &quot;#000000&quot;
fabInitialize &quot;Container1&quot;
fabAddKeyEvents &quot;Container1&quot;
fabSetBgColor &quot;Container1&quot; &quot;#ffffff&quot;
SetVar [thecolor] &quot;#000000&quot;
SetVar [thezoom] 1</pageenter>
					<Components>
						<Container id="Container1">
							<left>230px</left>
							<top>15px</top>
							<width>780px</width>
							<height>545px</height>
							<style>background-color:#FFFFFF;border-style:solid;border-width:1px</style>
						</Container>
						<PushButton id="PushButton1">
							<left>792px</left>
							<top>570px</top>
							<width>104px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save PNG</caption>
							<kind>warning</kind>
							<click>fabSaveAsPNG &quot;Container1&quot; &quot;image.png&quot;</click>
						</PushButton>
						<PushButton id="colorPicker">
							<left>15px</left>
							<top>191px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i id=&quot;fillcolor&quot; class=&quot;fa fa-circle fa-lg&quot;&gt;&lt;/i&gt;Fill Color</caption>
							<click>fabSetFill &quot;Container1&quot; &quot;&quot; [thecolor]</click>
						</PushButton>
						<PushButton id="PushButton2">
							<left>15px</left>
							<top>15px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-circle-o fa-lg&quot;&gt;&lt;/i&gt; Circle</caption>
							<kind>primary</kind>
							<click>fabNewCircle &quot;Container1&quot; &quot;&quot; 20 20 30 &quot;[thecolor]&quot;</click>
						</PushButton>
						<PushButton id="PushButton3">
							<left>15px</left>
							<top>50px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-square-o fa-lg&quot;&gt;&lt;/i&gt;Rectangle</caption>
							<kind>primary</kind>
							<click>fabNewRect &quot;Container1&quot; &quot;&quot; 30 30 50 50 &quot;[thecolor]&quot;</click>
						</PushButton>
						<PushButton id="PushButton4">
							<left>15px</left>
							<top>494px</top>
							<width>65px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-font fa-lg&quot;&gt;&lt;/i&gt;Text</caption>
							<kind>primary</kind>
							<click>fabNewText &quot;Container1&quot; &quot;&quot; &quot;[eltexto]&quot; 30 30 &quot;[thecolor]&quot; &quot;Verdana&quot; 30 0</click>
						</PushButton>
						<TextInput id="TextInput2">
							<left>15px</left>
							<top>456px</top>
							<width>205px</width>
							<height>33px</height>
							<variable>eltexto</variable>
							<place_holder>Type some text</place_holder>
						</TextInput>
						<PushButton id="PushButton5">
							<left>15px</left>
							<top>85px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-minus fa-lg&quot;&gt;&lt;/i&gt;Line</caption>
							<kind>primary</kind>
							<click>fabNewLine &quot;Container1&quot; &quot;&quot; 10 10 100 100 3 &quot;#cccccc&quot;</click>
						</PushButton>
						<TextInput id="TextInput3">
							<left>15px</left>
							<top>606px</top>
							<width>205px</width>
							<height>30px</height>
							<variable>laurl</variable>
							<place_holder>Image URL or URI</place_holder>
						</TextInput>
						<PushButton id="PushButton6">
							<left>15px</left>
							<top>641px</top>
							<width>205px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-image fa-lg&quot;&gt;&lt;/i&gt;Load Image (URL or URI)</caption>
							<kind>primary</kind>
							<click>fabLoadImage &quot;Container1&quot; &quot;&quot; &quot;[laurl]&quot; 20 20</click>
						</PushButton>
						<PushButton id="PushButton7">
							<left>120px</left>
							<top>121px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Set Shadow</caption>
							<click>fabSetShadow &quot;Container1&quot; &quot;&quot; &quot;#000000&quot; 5 5 10</click>
						</PushButton>
						<PushButton id="PushButton8">
							<left>15px</left>
							<top>296px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-arrow-circle-up fa-lg&quot;&gt;&lt;/i&gt;To Front</caption>
							<click>fabBringToFront &quot;Container1&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton9">
							<left>120px</left>
							<top>296px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-arrow-circle-down fa-lg&quot;&gt;&lt;/i&gt;To Back</caption>
							<click>fabSendToBack &quot;Container1&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton11">
							<left>120px</left>
							<top>50px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-trash fa-lg&quot;&gt;&lt;/i&gt;Clear All</caption>
							<kind>danger</kind>
							<click>fabClear &quot;Container1&quot;
fabNewText &quot;Container1&quot; &quot;chuleta&quot; &quot;Fabric.JS NeoAppBuilder Plugin. SinLios.com.&quot; 15 510 &quot;[thecolor]&quot; &quot;Verdana&quot; 12 0</click>
						</PushButton>
						<PushButton id="PushButton12">
							<left>120px</left>
							<top>15px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-eraser fa-lg&quot;&gt;&lt;/i&gt;Delete</caption>
							<kind>danger</kind>
							<click>fabRemove &quot;Container1&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton14">
							<left>547px</left>
							<top>685px</top>
							<width>115px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-search-plus fa-lg&quot;&gt;&lt;/i&gt;Zoom +</caption>
							<click>SetVar [thezoom] [thezoom]+0.1
fabSetZoom &quot;Container1&quot; [thezoom]</click>
						</PushButton>
						<PushButton id="PushButton15">
							<left>548px</left>
							<top>720px</top>
							<width>115px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-search-minus fa-lg&quot;&gt;&lt;/i&gt;Zoom -</caption>
							<click>SetVar [thezoom] 1
fabSetZoom &quot;Container1&quot; [thezoom]</click>
						</PushButton>
						<PushButton id="PushButton16">
							<left>667px</left>
							<top>685px</top>
							<width>35px</width>
							<height>30px</height>
							<icon>glyphicon-chevron-left</icon>
							<click>fabRelativePan &quot;Container1&quot; 20 0</click>
						</PushButton>
						<PushButton id="PushButton18">
							<left>120px</left>
							<top>191px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i id=&quot;bgcolor&quot; class=&quot;fa fa-circle fa-lg&quot;&gt;&lt;/i&gt;BG Color</caption>
							<click>fabSetBgColor &quot;Container1&quot; [thecolor]</click>
						</PushButton>
						<PushButton id="PushButton19">
							<left>904px</left>
							<top>570px</top>
							<width>106px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save SVG</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveAsSVG &quot;Container1&quot; [mysvg]
jsAlert &quot;[mysvg]&quot;</click>
						</PushButton>
						<PushButton id="PushButton20">
							<left>15px</left>
							<top>411px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Get Prop</caption>
							<click>fabGetProperty &quot;Container1&quot; &quot;&quot; [propertyName] [resultado1]
jsAlert &quot;Value of [propetyName]: [resultado1]&quot;</click>
						</PushButton>
						<PushButton id="PushButton21">
							<left>120px</left>
							<top>411px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Set Prop</caption>
							<click>fabSetProperty &quot;Container1&quot; &quot;&quot; [propertyName] [propertyValue]</click>
						</PushButton>
						<PushButton id="PushButton24">
							<left>15px</left>
							<top>261px</top>
							<width>205px</width>
							<height>30px</height>
							<caption>&lt;i style=&quot;color:#999999&quot; class=&quot;fa fa-circle fa-lg&quot;&gt;&lt;/i&gt;50% Opacity</caption>
							<click>fabSetOpacity &quot;Container1&quot; &quot;&quot; 0.5</click>
						</PushButton>
						<PushButton id="PushButton25">
							<left>335px</left>
							<top>581px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Selectable</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;selectable&quot;</click>
						</PushButton>
						<PushButton id="PushButton26">
							<left>230px</left>
							<top>581px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Controls</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;hasControls&quot;</click>
						</PushButton>
						<PushButton id="PushButton27">
							<left>230px</left>
							<top>651px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Rotating Point</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;hasRotatingPoint&quot;</click>
						</PushButton>
						<PushButton id="PushButton28">
							<left>230px</left>
							<top>686px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Lock X</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;lockMovementX&quot;</click>
						</PushButton>
						<PushButton id="PushButton29">
							<left>335px</left>
							<top>616px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Lock Rotation</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;lockRotation&quot;</click>
						</PushButton>
						<PushButton id="PushButton30">
							<left>335px</left>
							<top>651px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Lock Scaling</caption>
							<kind>success</kind>
							<click>.fabLockScaling &quot;Container1&quot; &quot;&quot; true
fabToggle &quot;Container1&quot; &quot;&quot; &quot;lockScalingX&quot;
fabToggle &quot;Container1&quot; &quot;&quot; &quot;lockScalingY&quot;</click>
						</PushButton>
						<PushButton id="PushButton31">
							<left>230px</left>
							<top>616px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Borders</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;hasBorders&quot;</click>
						</PushButton>
						<PushButton id="PushButton32">
							<left>792px</left>
							<top>640px</top>
							<width>104px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save Local</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveLocal &quot;Container1&quot; &quot;dibujo1&quot;</click>
						</PushButton>
						<PushButton id="PushButton36">
							<left>904px</left>
							<top>640px</top>
							<width>106px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Load Local</caption>
							<kind>warning</kind>
							<click>fabLoadLocal &quot;Container1&quot; &quot;dibujo1&quot;</click>
						</PushButton>
						<PushButton id="PushButton37">
							<left>120px</left>
							<top>85px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-copy fa-lg&quot;&gt;&lt;/i&gt;Clone</caption>
							<click>fabCloneSelectedObject &quot;Container1&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton38">
							<left>792px</left>
							<top>712px</top>
							<width>104px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save JSON</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveAsJSON &quot;Container1&quot; [myjson]
jsAlert &quot;Image saved to a variable&quot;</click>
						</PushButton>
						<PushButton id="PushButton39">
							<left>904px</left>
							<top>712px</top>
							<width>106px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Load JSON</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabLoadFromJSON &quot;Container1&quot; [myjson]
jsAlert &quot;Image loaded from a variable&quot;</click>
						</PushButton>
						<PushButton id="PushButton40">
							<left>15px</left>
							<top>226px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-minus fa-lg&quot;&gt;&lt;/i&gt;Line Width</caption>
							<click>fabSetStrokeWidth &quot;Container1&quot; &quot;&quot; 3</click>
						</PushButton>
						<PushButton id="PushButton41">
							<left>120px</left>
							<top>226px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i id=&quot;strokecolor&quot; class=&quot;fa fa-circle-o fa-lg&quot;&gt;&lt;/i&gt;Line Color</caption>
							<click>fabSetStrokeColor &quot;Container1&quot; &quot;&quot; [thecolor]</click>
						</PushButton>
						<PushButton id="PushButton42">
							<left>15px</left>
							<top>121px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-location-arrow fa-lg&quot;&gt;&lt;/i&gt;Path</caption>
							<kind>primary</kind>
							<click>fabNewPath &quot;Container1&quot; &quot;&quot; &quot;M 0 0 L 200 100 L 170 200 z&quot; 20 30 &quot;[thecolor]&quot;</click>
						</PushButton>
						<PushButton id="PushButton43">
							<left>335px</left>
							<top>686px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>FlipX</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;flipX&quot;</click>
						</PushButton>
						<PushButton id="PushButton44">
							<left>335px</left>
							<top>721px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>FlipY</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;flipY&quot;</click>
						</PushButton>
						<PushButton id="PushButton45">
							<left>85px</left>
							<top>529px</top>
							<width>65px</width>
							<height>30px</height>
							<caption>Font</caption>
							<click>fabFontFamily &quot;Container1&quot; &quot;&quot; &quot;Oswald&quot;</click>
						</PushButton>
						<PushButton id="PushButton46">
							<left>15px</left>
							<top>529px</top>
							<width>65px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-text-height fa-lg&quot;&gt;&lt;/i&gt;Size</caption>
							<click>fabFontSize &quot;Container1&quot; &quot;&quot; 50</click>
						</PushButton>
						<PushButton id="PushButton47">
							<left>155px</left>
							<top>529px</top>
							<width>65px</width>
							<height>30px</height>
							<caption>Style</caption>
							<click>fabFontStyle &quot;Container1&quot; &quot;&quot; &quot;italic&quot;</click>
						</PushButton>
						<PushButton id="PushButton49">
							<left>85px</left>
							<top>494px</top>
							<width>135px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-font fa-lg&quot;&gt;&lt;/i&gt;Editable Text</caption>
							<kind>primary</kind>
							<click>fabNewInteractiveText &quot;Container1&quot; &quot;&quot; &quot;[eltexto]&quot; 30 30 &quot;[thecolor]&quot; &quot;Verdana&quot; 30 0</click>
						</PushButton>
						<PushButton id="PushButton51">
							<left>15px</left>
							<top>564px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Get Text</caption>
							<click>fabGetProperty &quot;Container1&quot; &quot;&quot; &quot;text&quot; [mivar]
jsAlert &quot;[mivar]&quot;</click>
						</PushButton>
						<PushButton id="PushButton52">
							<left>120px</left>
							<top>564px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Set Text</caption>
							<click>SetVar [eltexto] &quot;Hi, this is a text!&quot;
fabSetProperty &quot;Container1&quot; &quot;&quot; &quot;text&quot; [eltexto]
fabTextAlign &quot;Container1&quot; &quot;&quot; &quot;center&quot;</click>
						</PushButton>
						<PushButton id="PushButton60">
							<left>15px</left>
							<top>721px</top>
							<width>205px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-image fa-lg&quot;&gt;&lt;/i&gt;Load from SVG String</caption>
							<kind>primary</kind>
							<click>fabLoadSVGFromString &quot;Container1&quot; &quot;&quot; [elsvg] 10 10</click>
						</PushButton>
						<TextInput id="TextInput4">
							<left>15px</left>
							<top>686px</top>
							<width>205px</width>
							<height>30px</height>
							<variable>elsvg</variable>
							<place_holder>SVG String</place_holder>
						</TextInput>
						<TextInput id="TextInput5">
							<left>15px</left>
							<top>341px</top>
							<width>205px</width>
							<height>30px</height>
							<variable>propertyName</variable>
							<place_holder>Property name</place_holder>
						</TextInput>
						<TextInput id="TextInput6">
							<left>15px</left>
							<top>376px</top>
							<width>205px</width>
							<height>30px</height>
							<variable>propertyValue</variable>
							<place_holder>Property value</place_holder>
						</TextInput>
						<CheckBox id="CheckBox1">
							<left>444px</left>
							<top>582px</top>
							<width>197px</width>
							<height>20px</height>
							<css_class>neocheckbox</css_class>
							<caption>Right button panning</caption>
							<prop_name>panning</prop_name>
							<variable>panning</variable>
							<change>If [panning] == &quot;on&quot;
  fabPanning &quot;Container1&quot; true
Else
  fabPanning &quot;Container1&quot; false
EndIf</change>
							<true_value>on</true_value>
							<false_value>off</false_value>
						</CheckBox>
						<PushButton id="PushButton53">
							<left>747px</left>
							<top>685px</top>
							<width>35px</width>
							<height>30px</height>
							<icon>glyphicon-chevron-right</icon>
							<click>fabRelativePan &quot;Container1&quot; -20 0</click>
						</PushButton>
						<PushButton id="PushButton54">
							<left>707px</left>
							<top>720px</top>
							<width>35px</width>
							<height>30px</height>
							<icon>glyphicon-chevron-down</icon>
							<click>fabRelativePan &quot;Container1&quot; 0 -20</click>
						</PushButton>
						<PushButton id="PushButton63">
							<left>707px</left>
							<top>650px</top>
							<width>35px</width>
							<height>30px</height>
							<icon>glyphicon-chevron-up</icon>
							<click>fabRelativePan &quot;Container1&quot; 0 20</click>
						</PushButton>
						<PushButton id="PushButton64">
							<left>707px</left>
							<top>685px</top>
							<width>35px</width>
							<height>30px</height>
							<icon>glyphicon-home</icon>
							<click>fabPanTo &quot;Container1&quot; 0 0</click>
						</PushButton>
						<CheckBox id="CheckBox2">
							<left>444px</left>
							<top>608px</top>
							<width>152px</width>
							<height>20px</height>
							<css_class>neocheckbox</css_class>
							<caption>Drawing mode</caption>
							<prop_name>drawingMode</prop_name>
							<variable>drawingMode</variable>
							<change>If [drawingMode] == &quot;on&quot;
  fabDrawingMode &quot;Container1&quot; true [thecolor] 4
Else
  fabDrawingMode &quot;Container1&quot; false [thecolor] 4
EndIf</change>
							<true_value>on</true_value>
							<false_value>off</false_value>
						</CheckBox>
						<PushButton id="PushButton33">
							<left>230px</left>
							<top>721px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Lock Y</caption>
							<kind>success</kind>
							<click>fabToggle &quot;Container1&quot; &quot;&quot; &quot;lockMovementY&quot;</click>
						</PushButton>
						<Headline id="Headline1">
							<left>-120px</left>
							<top>0px</top>
							<width>110px</width>
							<height>50px</height>
							<style>font-family:oswald</style>
							<text>oswald</text>
						</Headline>
						<Paragraph id="Paragraph3">
							<left>44px</left>
							<top>162px</top>
							<width>75px</width>
							<height>25px</height>
							<style>font-family:sans-serif;font-size:12px</style>
							<text>Select Color:</text>
						</Paragraph>
						<PushButton id="PushButton13">
							<left>792px</left>
							<top>676px</top>
							<width>219px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save as Base64 data</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveAsBase64 &quot;Container1&quot; [base64Data]
</click>
						</PushButton>
						<ColorInput id="ColorInput1">
							<left>121px</left>
							<top>158px</top>
							<width>96px</width>
							<height>26px</height>
							<style>padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px</style>
							<variable>[thecolor]</variable>
						</ColorInput>
						<PushButton id="PushButton22">
							<left>792px</left>
							<top>605px</top>
							<width>104px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;Save JPG</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveAsJPG &quot;Container1&quot; &quot;pngimage.jpg&quot; 0.7</click>
						</PushButton>
						<PushButton id="PushButton23">
							<left>904px</left>
							<top>605px</top>
							<width>107px</width>
							<height>30px</height>
							<caption>&lt;i class=&quot;fa fa-floppy-o fa-lg&quot;&gt;&lt;/i&gt;To Clipboard</caption>
							<kind>warning</kind>
							<click>fabUnselect &quot;Container1&quot;
fabSaveToClipboard &quot;Container1&quot;</click>
						</PushButton>
						<FileInput id="FileInput1">
							<left>664px</left>
							<top>569px</top>
							<width>115px</width>
							<height>32px</height>
							<style>color:#fff;font-size:10pt</style>
							<prop_name>loadFile</prop_name>
							<change>fabLoadFile &quot;Container1&quot;</change>
							<caption>Load image</caption>
							<accept>image/*</accept>
						</FileInput>
						<PushButton id="PushButton34">
							<left>440px</left>
							<top>686px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Center</caption>
							<kind>success</kind>
							<click>fabCenterObject &quot;Container1&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton35">
							<left>440px</left>
							<top>721px</top>
							<width>100px</width>
							<height>30px</height>
							<caption>Print</caption>
							<kind>success</kind>
							<click>BeginJS
    var dataUrl = document.getElementById(&apos;Container1Canvas&apos;).toDataURL(); //attempt to save base64 string to server using this var
    var windowContent = &apos;&lt;!DOCTYPE html&gt;&apos;;
    windowContent += &apos;&lt;html&gt;&apos;
    windowContent += &apos;&lt;head&gt;&lt;title&gt;Print canvas&lt;/title&gt;&lt;/head&gt;&apos;;
    windowContent += &apos;&lt;body&gt;&apos;
    windowContent += &apos;&lt;img src=&quot;&apos; + dataUrl + &apos;&quot; onload=window.print();window.close();&gt;&apos;;
    windowContent += &apos;&lt;/body&gt;&apos;;
    windowContent += &apos;&lt;/html&gt;&apos;;
    var printWin = window.open(&apos;&apos;, &apos;&apos;, &apos;width=340,height=260&apos;);
    printWin.document.open();
    printWin.document.write(windowContent);
EndJS</click>
						</PushButton>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>800px</width>
							<height>600px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
