using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S04_Projet
{
    public class Options
    {
        public int fileInfoHeaderSize;
        public int width;
        public int height;
        public int colorPlanesNb;
        public int bitsPerPixel;
        public int compressionMethod;
        public int imgSize;
        public int horizontalRes;
        public int VerticalRes;
        public int padding;
        public int nbColor;
        public int nbImportantColor;
        public string format;
        public int fileSize;
        public int offset;

        public Options() { }

        /// <summary>
        /// Return a new instance of Options with the same parameters
        /// </summary>
        /// <returns>New option instance</returns>
        public Options Copy()
        {
            Options options = new Options();
            options.fileInfoHeaderSize = fileInfoHeaderSize;
            options.width = width;
            options.height = height;
            options.padding = padding;
            options.colorPlanesNb = colorPlanesNb;
            options.bitsPerPixel = bitsPerPixel;
            options.compressionMethod = compressionMethod;
            options.imgSize = imgSize;
            options.horizontalRes = horizontalRes;
            options.VerticalRes = VerticalRes;
            options.nbColor = nbColor;
            options.nbImportantColor = nbImportantColor;
            options.format = format;
            options.fileSize = fileSize;
            options.offset = offset;

            return options;
        }
    }
}
