Note that there are some explanatory texts on larger screens.

plurals
  1. POWPF - Control over blending between semi-transparent layers
    text
    copied!<p>In digital imaging, when overlaying two visual layers there are multiple ways you can calculate the image that results when light from a lower layer shines through an obstructing layer in some way. This can offer effects that do not occur as natural phenomenon, such as multiplying colours.</p> <p>Here's an example of the layer blending mode menu provided in Photoshop:</p> <p><a href="http://www.psdtop.com/blog/wp-content/images/020_Blending-Modes/blending-mode.jpg" rel="nofollow noreferrer">http://www.psdtop.com/blog/wp-content/images/020_Blending-Modes/blending-mode.jpg</a></p> <p>I recommend visiting the article <a href="http://www.psdtop.com/blog/basic/understanding-blending-modes/" rel="nofollow noreferrer">Understanding Blending Modes</a> if this topic isn't something you're familiar with. It provides a great showcase of the results of each option against two layers.</p> <p>As far as I can tell, WPF only provides the 'Normal' option. That is, the following UI just blends colours as though they were coloured gels:</p> <pre><code>&lt;Grid&gt; &lt;Ellipse Width="40" Height="40" Fill="#80FF0000" Margin="16,0,0,0" /&gt; &lt;Ellipse Width="40" Height="40" Fill="#8000FF00" Margin="32,32,0,0" /&gt; &lt;Ellipse Width="40" Height="40" Fill="#800000FF" Margin="0,32,0,0" /&gt; &lt;/Grid&gt; </code></pre> <p>Which looks like this:</p> <p><a href="http://img4.imageshack.us/img4/5541/temprx.png" rel="nofollow noreferrer">http://img4.imageshack.us/img4/5541/temprx.png</a></p> <p>I'd like to know if there's any way to control the way in which layers blend.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload