getSmoothCornerRectPath
Builds a smooth-rounded rectangle path where all corners are rounded according to the specified radius.
Return
A Path representing the smooth-rounded rectangle.
Parameters
The desired smooth corner radius in pixels.
The left coordinate of the rectangle.
The top coordinate of the rectangle.
The width of the rectangle.
The height of the rectangle.
Builds a smooth-rounded rectangle path where only the corners selected by the corners bitmask are rounded; unselected corners remain sharp.
Return
A Path representing the selectively smooth-rounded rectangle.
Parameters
The desired smooth corner radius in pixels.
The left coordinate of the rectangle.
The top coordinate of the rectangle.
The width of the rectangle.
The height of the rectangle.
A bitmask specifying which corners to round. Combination of ROUNDED_CORNER_TOP_LEFT, ROUNDED_CORNER_TOP_RIGHT, ROUNDED_CORNER_BOTTOM_LEFT, ROUNDED_CORNER_BOTTOM_RIGHT, ROUNDED_CORNER_ALL, or ROUNDED_CORNER_NONE.
Deprecated
Use getSmoothCornerRectPath instead.
Deprecated method for generating a smooth corner rectangle path starting from (0, 0).
Return
A Path representing the smooth-rounded rectangle.
Parameters
The desired smooth corner radius.
The width of the rectangle.
The height of the rectangle.