added getCenter for compatability with rect
slice can now set origins