fun line(startPoint: Point, endPoint: Point): Shape A line segment with the specified start and stop x,y coordinates 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