pixelart.js
function (x1, y1, w, h, color, c)
    {
        _c = c || _c
        if (color)
        {
            _c.fillStyle = color
        }
        box(x1 * _scale, y1 * _scale, w * _scale, h * _scale)
    }
function (x1, y1, w, h, color, c)
    {
        _c = c || _c
        if (color)
        {
            _c.fillStyle = color
        }
        box(x1 * _scale, y1 * _scale, w * _scale, h * _scale)
    }
function ( x1 , y1 , w , h , color , c ) { _c = c || _c if ( color ) { _c . fillStyle = color } box ( x1 * _scale , y1 * _scale , w * _scale , h * _scale ) }
draw and fill rectangle
@param {number} x1 - x
@param {number} y2 - y
@param {number} radius - radius
@param {string} color
@param {CanvasRenderingContext2D} [c]
draw and fill rectangle