Skip to content

File SizeExtensions.cs

File List > Extensions > SizeExtensions.cs

Go to the documentation of this file


using System;
using System.Drawing;

namespace LemonUI.Extensions
{
    [Obsolete("Please use LemonUI.Tools.Extensions instead.", true)]
    public static class SizeExtensions
    {
        public static SizeF ToRelative(this SizeF size) => Tools.Extensions.ToRelative(size);
        public static SizeF ToAbsolute(this SizeF size) => Tools.Extensions.ToScaled(size);
    }
}