this._wrapper.rect(g, dims[this.X], dims[this.Y], dims[this.W], dims[this.H],
            this.legend._bgSettings);