drawRoundedCorner

open fun drawRoundedCorner(left: Int, top: Int, right: Int, bottom: Int, @NonNull canvas: Canvas)(source)


open fun drawRoundedCorner(@NonNull view: View, @NonNull canvas: Canvas)(source)

Draws the rounded corners for the given view.

Parameters

view

The view to draw the rounded corners for.

canvas

The canvas to draw on.