private void SetBrushSize() { int brushSize = this.commandByteArray[1] | this.commandByteArray[2] << 8 | this.commandByteArray[3] << 16 | this.commandByteArray[4] << 24; this.Brush = new Rectangle(0, 0, brushSize, brushSize); }