diff options
Diffstat (limited to 'UVtools.Core/Extensions/DrawingExtensions.cs')
-rw-r--r-- | UVtools.Core/Extensions/DrawingExtensions.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/UVtools.Core/Extensions/DrawingExtensions.cs b/UVtools.Core/Extensions/DrawingExtensions.cs index 33406a5..f98529c 100644 --- a/UVtools.Core/Extensions/DrawingExtensions.cs +++ b/UVtools.Core/Extensions/DrawingExtensions.cs @@ -20,20 +20,5 @@ namespace UVtools.Core.Extensions Math.Min(Math.Max(min, color.B * factor), max)); return Color.FromArgb(r, g, b); } - - public static int GetArea(this Rectangle rect) - { - return rect.Width * rect.Height; - } - - public static int GetArea(this Size size) - { - return size.Width * size.Height; - } - - public static int GetMaximum(this Size size) - { - return Math.Max(size.Width, size.Height); - } } } |