Support rect() type