Paint.CanvasRecorder.RecordBrushSizeChange C# (CSharp) 메소드

RecordBrushSizeChange() 개인적인 메소드

Records the brush size change as a command
private RecordBrushSizeChange ( Rectangle brush ) : void
brush Microsoft.Xna.Framework.Rectangle /// The size of the brush for subsequent dots ///
리턴 void
        void RecordBrushSizeChange(Rectangle brush)
        {
            this.currentBrushSize = brush.Width;

            commandList.Add(CanvasRecorderCommand.SetBrushSize);
            commandList.Add((byte)this.currentBrushSize);
            commandList.Add((byte)(this.currentBrushSize >> 8));
            commandList.Add((byte)(this.currentBrushSize >> 16));
            commandList.Add((byte)(this.currentBrushSize >> 24));
        }