In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect.
But the real problem is the parameter frameoffset. No effect at all, whatever frameoffset= is set to.

dr. Hans van der Meer