Vertices buffer to Rectangle class