namespace BomLocalService.Models; /// /// Configuration for cropping screenshots to avoid map controls and overlays. /// All values are relative to the map container's bounding box. /// public class ScreenshotCropConfig { /// /// X offset in pixels from the left edge of the map container. /// Default: 0 (start at container's left edge). /// public int X { get; set; } = 0; /// /// Y offset in pixels from the top edge of the map container. /// Default: 0 (start at container's top edge). /// public int Y { get; set; } = 0; /// /// Right offset in pixels from the right edge of the map container. /// How much to cut off from the right side. /// Default: 0 (no cut from right edge). /// public int RightOffset { get; set; } = 0; /// /// Height of the crop area in pixels. /// If null, uses the full container height minus Y offset. /// public int? Height { get; set; } }