public Layer(int width, int height, float opacity = 1.0f, bool saveContentsOnReset = false, bool visible = true) { Image = new Bitmap(width, height); Opacity = opacity; SaveContentsOnReset = saveContentsOnReset; Visible = visible; }