(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Animating an Opacity Mask with a Behavior

(0 votes)
0 comments   /   posted by Phil Middlemiss on Mar 11, 2010
Tags:   silverlight , expression-blend , opacity-mask , animations , behaviours
Phil Middlemiss describes a behavior he has written that allows you to create an Opacity Mask that can be animated.

Masking with a behavior
An Opacity Mask "layer" allows for animation, so you can do things like a moving spot light revealing parts of an image, or have a foggy border animating around something.

This is a Behavior I've written that lets you turn a FrameworkElement into an opacity mask for it's parent container.

Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter