setRoundedCorners
Sets the rounded corners to be drawn.
Parameters
corners
A bitmask of the corners to be rounded. Use ROUNDED_CORNER_NONE for no rounded corners, ROUNDED_CORNER_TOP_LEFT for the top-left corner, ROUNDED_CORNER_TOP_RIGHT for the top-right corner, ROUNDED_CORNER_BOTTOM_LEFT for the bottom-left corner, ROUNDED_CORNER_BOTTOM_RIGHT for the bottom-right corner, or ROUNDED_CORNER_ALL for all corners. You can also combine these flags using the bitwise OR operator.
Throws
if an invalid corner value is provided.