We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cce4bb commit 8df63ffCopy full SHA for 8df63ff
ColorSetKit/SolidColorBrushExtensions.cs
@@ -45,5 +45,13 @@ public static System.Windows.Media.SolidColorBrush ByChangingLightness( this Sys
45
{
46
return new System.Windows.Media.SolidColorBrush( self.Color.ByChangingLightness( l ) );
47
}
48
+
49
+ public static System.Windows.Media.SolidColorBrush ByChangingOpacity( this System.Windows.Media.SolidColorBrush self, double l )
50
+ {
51
+ System.Windows.Media.SolidColorBrush copy = self.Clone();
52
+ copy.Opacity = l;
53
54
+ return copy;
55
+ }
56
57
0 commit comments