Paint.CanvasPlayback.SetBrushSize C# (CSharp) Méthode

SetBrushSize() private méthode

Sets the size of the brush based on the data in the commandByteArray
private SetBrushSize ( ) : void
Résultat void
        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);
        }