[Mono-bugs] [Bug 347394] OpacityMask issue of MediaElement
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Tue Dec 11 08:19:43 EST 2007
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=347394
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347394#c1
--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-12-11 06:19:43 MST ---
This seems to be a bad interaction between the OpacityMask and the
LinearGradientBrush.
Using only OpacityMask with a SolidColorBrush works (as expected) with the
video
                <MediaElement.OpacityMask>
                        <SolidColorBrush Color="#77000000" />
                </MediaElement.OpacityMask>
Using a rectangle with a LinearGradientBrush (for the reflection) without video
works too
                <Rectangle Width="300" Height="300">
                <Rectangle.Fill>
                        <LinearGradientBrush StartPoint="0, .25" EndPoint="0,
1">
                                <GradientStop Offset="0.25" Color="#00000000"/>
                                <GradientStop Offset="1" Color="#CC000000"/>
                        </LinearGradientBrush>
                </Rectangle.Fill>
                </Rectangle>
-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
    
    
More information about the mono-bugs
mailing list