<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsBlurBoxSetFilter?action=history&amp;feed=atom</id>
	<title>DgsBlurBoxSetFilter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsBlurBoxSetFilter?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxSetFilter&amp;action=history"/>
	<updated>2026-04-05T23:03:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxSetFilter&amp;diff=73006&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}}  This function applies a dgs shape plugin to a blurbox.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsBlurBoxSetFilter( element blurbox [, s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsBlurBoxSetFilter&amp;diff=73006&amp;oldid=prev"/>
		<updated>2021-11-05T15:08:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}}  This function applies a dgs shape plugin to a blurbox.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsBlurBoxSetFilter( element blurbox [, s...&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;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
This function applies a dgs shape plugin to a blurbox.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dgsBlurBoxSetFilter( element blurbox [, shader shapePlugin] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''blurbox''': A dgs blur box element.&lt;br /&gt;
*'''shapePlugin''': A shape plugin ( rounded rectangle, circle... ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if succeed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs --get exported functions from dgs&lt;br /&gt;
&lt;br /&gt;
local blurbox = dgsCreateBlurBox(sW/2,sH)&lt;br /&gt;
dgsSetProperty(blurbox,&amp;quot;updateScreenSource&amp;quot;,true)&lt;br /&gt;
img = dgsCreateImage(0,0,sW/2,sH,blurbox,false)&lt;br /&gt;
local roundedRect = dgsCreateRoundRect(300, false, tocolor(255,255,255,255))&lt;br /&gt;
dgsBlurBoxSetFilter(blurbox,roundedRect)&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>