mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 14:26:30 +00:00
better view for class distribution
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.IO;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
|
||||
namespace Azaion.Common.Extensions;
|
||||
@@ -22,4 +23,7 @@ public static class BitmapExtensions
|
||||
image.Freeze();
|
||||
return image;
|
||||
}
|
||||
|
||||
public static Color CreateTransparent(this Color color, byte transparency) =>
|
||||
Color.FromArgb(transparency, color.R, color.G, color.B);
|
||||
}
|
||||
Reference in New Issue
Block a user