<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=Clipper%3AgetDifference</id>
	<title>Clipper:getDifference - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=Clipper%3AgetDifference"/>
	<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=Clipper:getDifference&amp;action=history"/>
	<updated>2026-11-17T11:52:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.gideros.rocks/index.php?title=Clipper:getDifference&amp;diff=25546&amp;oldid=prev</id>
		<title>MoKaLux: Created page with &quot;__NOTOC__ &#039;&#039;&#039;Available since:&#039;&#039;&#039; Gideros 2015.03.22&lt;br/&gt; &#039;&#039;&#039;Class:&#039;&#039;&#039; Clipper&lt;br/&gt;  === Description === Computes the subject polygons minus the clip polygons (subject - cl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=Clipper:getDifference&amp;diff=25546&amp;oldid=prev"/>
		<updated>2026-11-14T22:00:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ &amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2015.03.22&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/Clipper&quot; title=&quot;Clipper&quot;&gt;Clipper&lt;/a&gt;&amp;lt;br/&amp;gt;  === Description === Computes the subject polygons minus the clip polygons (subject - cl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2015.03.22&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; [[Clipper]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Computes the subject polygons minus the clip polygons (subject - clip).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
(table) = Clipper:getDifference(fillType1,fillType2)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;fillType1&amp;#039;&amp;#039;&amp;#039;: (number, optional, default = Polygon.FILL_EVEN_ODD) fill rule for the subject polygons&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;fillType2&amp;#039;&amp;#039;&amp;#039;: (number, optional, default = Polygon.FILL_EVEN_ODD) fill rule for the clip polygons&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Return values ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039; (table) array of Polygon objects (1 indexed) with the resulting polygons. May be empty when there is no overlap&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local res = clipper:getDifference(Polygon.FILL_EVEN_ODD, Polygon.FILL_EVEN_ODD)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Clipper}}&lt;/div&gt;</summary>
		<author><name>MoKaLux</name></author>
	</entry>
</feed>