Files @ ccf67c142d65
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Models/ScreenMetrics.cs

Jason Maltzen
Update assembly to version 1.8.0
using Avalonia;

namespace DesertPaintCodex.Models
{
    public class ScreenMetrics
    {
        public PixelRect Bounds { get; set; }
        public bool IsPrimary { get; set; }

        public string PositionToStr => $"{Bounds.X}, {Bounds.Y}";
        public string SizeToStr => $"{Bounds.Width}x{Bounds.Height}";

        public ScreenMetrics(PixelRect bounds, bool isPrimary)
        {
            Bounds = bounds;
            IsPrimary = isPrimary;
        }
    }
}