drawRoundedCorner
Draws the rounded corners on the given canvas. The bounds for drawing are obtained from the canvas's clip bounds.
Parameters
canvas
The canvas to draw on. Must not be null.
Draws the rounded corners for the given view.
Parameters
view
The view to draw the rounded corners for.
canvas
The canvas to draw on.
Draws the rounded corners on the given canvas with the specified insets.
Parameters
canvas
The canvas to draw on.
insets
The insets to apply to the rounded corners. If null, no insets are applied.
Draws the rounded corners onto the provided canvas. The corners are drawn within the bounds specified by the rect parameter.
Parameters
rect
The rectangular bounds within which the rounded corners will be drawn.
canvas
The canvas on which to draw the rounded corners.