fun rect(topLeft: Point, size: Size, cornerRadius: Float = 0.0f): Shape A closed (optionally) round-rectangle that can be drawn on a Canvas.
Parameters
The coordinates of the top left point of the rectangle
The size of the rectangle
The radius of the rounded corners