Exemplo n.º 1
0
 public ImagerResizeParams(ImagerResizeType type, Size size, Color background)
     : this()
 {
     this.Type       = type;
     this.Size       = size;
     this.Background = background;
 }
Exemplo n.º 2
0
 public ImagerResizeParams(ImagerResizeType type, Size size, Color background)
     : this()
 {
     this.Type = type;
     this.Size = size;
     this.Background = background;
 }
Exemplo n.º 3
0
 public Imager Modify(ImagerResizeType type, int maxSize)
 {
     return this.Modify(type, maxSize, maxSize);
 }
Exemplo n.º 4
0
 public Imager Modify(ImagerResizeType type, int maxWidth, int maxHeight)
 {
     var param = new ImagerResizeParams(type, new Size(maxWidth, maxHeight), Color.Empty);
     return this.Modify(param);
 }
Exemplo n.º 5
0
 public Imager Modify(ImagerResizeType type, Size size)
 {
     var param = new ImagerResizeParams(type, size, Color.Empty);
     return this.Modify(param);
 }
Exemplo n.º 6
0
        public ImagerService Modify(ImagerResizeType type, int maxSize)
        {
            var param = new ImagerResizeParams(type, new Size(maxSize, maxSize), Color.Empty);

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

            return(this.Modify(param));
        }