BiomePainter.BitmapSelector.Layer.Layer C# (CSharp) Method

Layer() public method

public Layer ( int width, int height, float opacity = 1.0f, bool saveContentsOnReset = false, bool visible = true ) : System
width int
height int
opacity float
saveContentsOnReset bool
visible bool
return System
        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;
        }