matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
O.P. RE: Chunks Revealed
And lastly:
Spoiler: xml code: <?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
<GlobalColors>
<GlobalColor Id="bg">
<BaseColor>
<Saturation>2</Saturation>
<Brightness>0.6</Brightness>
<Transparency>45</Transparency>
</BaseColor>
</GlobalColor>
<GlobalColor Id="ref">
<BaseColor>
<Saturation>2.5</Saturation>
<Brightness>0.8</Brightness>
<Transparency>220</Transparency>
</BaseColor>
</GlobalColor>
</GlobalColors>
<Window Id="Test" Version="1">
<Position Width="354" Height="250" />
<DialogTmpl />
<Elements>
<Element xsi:type="FigureElement" Id="Fig1">
<Position Top="0" Left="0" />
<Figure>
<Custom>
<PathChunk xsi:type="LineChunk">
<X1>500</X1>
<Y1>100</Y1>
<X2>40</X2>
<Y2>150</Y2>
</PathChunk>
<PathChunk xsi:type="BezierChunk">
<X1>100</X1>
<Y1>100</Y1>
<X2>220</X2>
<Y2>120</Y2>
<X3>270</X3>
<Y3>270</Y3>
<X4>120</X4>
<Y4>320</Y4>
</PathChunk>
</Custom>
</Figure>
<Fill>
<PathGradient>
<CenterColor>
<GlobalColor>ref</GlobalColor>
</CenterColor>
<SurroundColor>
<GlobalColor>bg</GlobalColor>
</SurroundColor>
<CenterPoint x="10" y="10" />
<!-- Optional
X and Y values are either 0 or 1
-->
<FocusScale x="0" y="1" />
</PathGradient>
</Fill>
</Element>
</Elements>
</Window>
</Interfaces>
Attachment: Plus!_chunks_example3.jpg (31.12 KB)
This file has been downloaded 313 time(s).
|
|