⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transformtask.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Utils
{
    using System;
    using System.Drawing;

    public class TransformTask
    {
        private BaseImage _image;
        private IImageTransform _tf;

        public TransformTask(BaseImage image, IImageTransform tf)
        {
            this._image = image;
            this._tf = tf;
        }

        public TransformTask(Bitmap bitmap, IImageTransform tf) : this(new BaseImage(bitmap), tf)
        {
        }

        public BaseImage Image
        {
            get
            {
                return this._image;
            }
            set
            {
                if (value == null)
                {
                    throw new ArgumentNullException();
                }
                this._image = value;
            }
        }

        public IImageTransform tf
        {
            get
            {
                return this._tf;
            }
            set
            {
                if (value == null)
                {
                    throw new ArgumentNullException();
                }
                this.tf = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -