In the window is a rectangle with some size, I need to set a new size for the rectangle gradually changed its old size to the new. Or, for example, have to turn the rectangle that was it smooth. How to do it?In the window is a rectangle with some size, I