namespace EnvelopeGenerator.API.Models.PsPdfKitAnnotation; public static class Extensions { public static double GetRight(this IAnnotation annotation) => annotation.Left + annotation?.Width ?? 0; public static double GetBottom(this IAnnotation annotation) => annotation.Top + annotation?.Height ?? 0; }