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; }
//-------------------------------------------------------------------------------- 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); }