using HSUI.Config;
using System.Numerics;

namespace HSUI.Interface.Bars
{
    public class Rect
    {
        public Vector2 Position { get; set; }

        public Vector2 Size { get; set; }

        public PluginConfigColor Color { get; set; }

        public Rect(Vector2 pos, Vector2 size, PluginConfigColor? color = null)
        {
            Position = pos;
            Size = size;
            Color = color ?? new PluginConfigColor(new(0, 0, 0, 0));
        }

        public Rect() : this(new(0, 0), new(0, 0), new PluginConfigColor(new(0, 0, 0, 0))) { }
    }
}
