Paint.PaintToolBox.SetBrushSizeRectange C# (CSharp) Méthode

SetBrushSizeRectange() private méthode

Sets the brush size rectange.
private SetBrushSizeRectange ( int brushWidth ) : void
brushWidth int /// Brush width. ///
Résultat void
        private void SetBrushSizeRectange(int brushWidth)
        {
            this.Brush = new Rectangle(0, 0, brushWidth, brushWidth);
        }