📄 basicfilter.cs
字号:
namespace Imps.Client.Utils
{
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
public abstract class BasicFilter : IFilter
{
private Color _bgColor = Color.FromArgb(0, 0, 0, 0);
private InterpolationMode _interpolation = InterpolationMode.HighQualityBicubic;
protected BasicFilter()
{
}
public abstract Image ExecuteFilter(Image inputImage);
public Color BackgroundColor
{
get
{
return this._bgColor;
}
set
{
this._bgColor = value;
}
}
public InterpolationMode Interpolation
{
get
{
return this._interpolation;
}
set
{
this._interpolation = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -