Ejemplo n.º 1
0
        public LayerEntitys(Bitmap bitmap, int num, int hight, int width, Operation operation = Operation.Non, ChoseRgb choseRgb = ChoseRgb.NON)
        {
            this.filePath = "Собранная картинка" + num;

            this.bitmap = bitmap;

            this.hight = hight;

            this.width = width;

            this.operation = operation;

            this.choseRgb = choseRgb;
        }
Ejemplo n.º 2
0
        //--------------------------------------------------------------------------------

        public LayerEntitys(string filePath, int hight, int width, Operation operation = Operation.Non, ChoseRgb choseRgb = ChoseRgb.NON)
        {
            this.filePath = filePath;

            this.hight = hight;

            this.width = width;

            this.operation = operation;

            this.choseRgb = choseRgb;

            this.bitmap = new Bitmap(new Bitmap(filePath), width, hight);
        }