cast#

Rectangle.cast()#

Cast the primitive object to the correct concrete type.

Returns:
Primitive