From e0263dc94338e0735ae9e7335c61ab43a4bb277a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 13 Mar 2021 16:25:08 +0100 Subject: [PATCH] Removed obsolete ColorExtensions methods --- MLEM/Extensions/ColorExtensions.cs | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/MLEM/Extensions/ColorExtensions.cs b/MLEM/Extensions/ColorExtensions.cs index 71843bc..201943c 100644 --- a/MLEM/Extensions/ColorExtensions.cs +++ b/MLEM/Extensions/ColorExtensions.cs @@ -8,32 +8,6 @@ namespace MLEM.Extensions { /// public static class ColorExtensions { - /// - /// Returns an inverted version of the color. - /// - /// The color to invert - /// The inverted color - [Obsolete("Use ColorHelper.Invert instead")] - public static Color Invert(this Color color) => ColorHelper.Invert(color); - - /// - /// Parses a hexadecimal number into a color. - /// The number should be in the format 0xaarrggbb. - /// - /// The number to parse - /// The resulting color - [Obsolete("Use ColorHelper.FromHexRgba instead")] - public static Color FromHex(uint value) => ColorHelper.FromHexRgba((int) value); - - /// - /// Parses a hexadecimal string into a color. - /// The string can optionally start with a #. - /// - /// The string to parse - /// The resulting color - [Obsolete("Use ColorHelper.FromHexString instead")] - public static Color FromHex(string value) => ColorHelper.FromHexString(value); - /// /// Copies the alpha value from another color into this color. ///