Reset() публичный Метод

public Reset ( int width, int height ) : void
width int
height int
Результат void
Пример #1
0
        private void ResetNewBrush(int width, int height)
        {
            creatingBrush.Reset(width, height);

            if (brushPict.Image != null)
            {
                brushPict.Image.Dispose();
            }

            brushPict.Image = new Bitmap(width * Tileset.TileSize, height * Tileset.TileSize);
            brushPict.Size  = brushPict.Image.Size;
            ReDraw();
        }