Add rectangle2d coverter