Drawbox with a BackgroundPattern parameter when calling Drawbox() accepting an object containing a painter resource