using System.Drawing; namespace Azaion.Annotator.Extensions; public static class RectangleFExtensions { public static double Area(this RectangleF rectangle) => rectangle.Width * rectangle.Height; }