// Convert from vertex center points to top left points
result[i][0] = v[i].x - bounds.getWidth() / 2;
result[i][1] = v[i].y - bounds.getHeight() / 2;
}
model.beginUpdate();
try
{
for (int i = 0; i < vertices.length; i++)
{
setVertexLocation(vertices[i], result[i][0], result[i][1]);