<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Degrafa &#187; mask</title>
	<atom:link href="http://www.degrafa.org/blog/tag/mask/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.degrafa.org/blog</link>
	<description>Degrafa is a declarative graphics framework.</description>
	<lastBuildDate>Fri, 06 Nov 2009 05:15:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Maskalicious</title>
		<link>http://www.degrafa.org/blog/2009/11/maskalicious/</link>
		<comments>http://www.degrafa.org/blog/2009/11/maskalicious/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 05:12:18 +0000</pubDate>
		<dc:creator>juan</dc:creator>
				<category><![CDATA[beta 3]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[mask]]></category>

		<guid isPermaLink="false">http://www.degrafa.org/blog/?p=274</guid>
		<description><![CDATA[Lately we&#8217;ve been posting about new features coming in Degrafa Beta 3.2, but some of these have been in the development branch codebase for a while. One of those features is masks, which have been in the codebase in various forms since late last year and were extended to cover 4 main masking modes mid-year.

Some [...]]]></description>
			<content:encoded><![CDATA[<p>Lately we&#8217;ve been posting about new features coming in Degrafa Beta 3.2, but some of these have been in the development branch codebase for a while. One of those features is masks, which have been in the codebase in various forms since late last year and were extended to cover 4 main masking modes mid-year.</p>
<p style="text-align: center;"><a href="http://degrafa.org/source/Mask/MaskModeDemo.swf"><img class="size-full wp-image-277 aligncenter" title="Degrafa Mask" src="http://www.degrafa.org/blog/wp-content/uploads/2009/11/mask.jpg" alt="Degrafa Mask" width="468" height="353" /></a></p>
<p>Some of the features of masks in Degrafa go beyond what is offered as regular masking support in the Flash Player. With masks in Degrafa you can define a shape via Degrafa MXML and mask another Degrafa object with a few interesting mask types:</p>
<p>svgMask &#8211; Luminosity+Alpha: Takes into account the color, alpha and shape of the mask shape to define the mask.</p>
<p>alpha &#8211; Uses the alpha of the mask shape to define the mask. This is equivalent to Flash Player native alpha masking</p>
<p>svgClip &#8211;  Uses the defined path of a shape of a mask shape to define the mask. Does not take into account things like strokes.</p>
<p>clip &#8211; this takes into account the filled region of the mask only to clip the maskee and is equivalent to the flash player native clipping mask</p>
<p>unMask &#8211; Removes any applied masks to show the mask fully rendered</p>
<p>You can see a <a title="Degrafa Mask" href="http://degrafa.org/source/Mask/MaskModeDemo.swf">simple example</a> of Degrafa mask <a title="Degrafa Mask" href="http://degrafa.org/source/Mask/MaskModeDemo.swf">here</a>. This feature will also be packaged as part of the Beta 3.2 release of Degrafa.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.degrafa.org/blog/2009/11/maskalicious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

