drawRoundedCorner
Draws the rounded corners for the specified view onto the given canvas. Translates the canvas if the view has a non-zero translation Y.
Parameters
view
The view to draw the rounded corners for. Must not be null.
canvas
The canvas to draw on. Must not be null.