示例#1
0
 public ImagerResizeParams(ImagerResizeType type, Size size, Color background)
     : this()
 {
     this.Type       = type;
     this.Size       = size;
     this.Background = background;
 }
示例#2
0
文件: Imager.cs 项目: sxkote/sxcore
 public ImagerResizeParams(ImagerResizeType type, Size size, Color background)
     : this()
 {
     this.Type = type;
     this.Size = size;
     this.Background = background;
 }
示例#3
0
文件: Imager.cs 项目: sxkote/sxcore
 public Imager Modify(ImagerResizeType type, int maxSize)
 {
     return this.Modify(type, maxSize, maxSize);
 }
示例#4
0
文件: Imager.cs 项目: sxkote/sxcore
 public Imager Modify(ImagerResizeType type, int maxWidth, int maxHeight)
 {
     var param = new ImagerResizeParams(type, new Size(maxWidth, maxHeight), Color.Empty);
     return this.Modify(param);
 }
示例#5
0
文件: Imager.cs 项目: sxkote/sxcore
 public Imager Modify(ImagerResizeType type, Size size)
 {
     var param = new ImagerResizeParams(type, size, Color.Empty);
     return this.Modify(param);
 }
示例#6
0
        public ImagerService Modify(ImagerResizeType type, int maxSize)
        {
            var param = new ImagerResizeParams(type, new Size(maxSize, maxSize), Color.Empty);

            return(this.Modify(param));
        }
示例#7
0
        public ImagerService Modify(ImagerResizeType type, Size size)
        {
            var param = new ImagerResizeParams(type, size, Color.Empty);

            return(this.Modify(param));
        }