addRRect

fun addRRect(rrect: RRect, dir: PathDirection = PathDirection.CLOCKWISE, start: Int = 6): Path

Adds rrect to Path, creating a new closed contour. RRect starts at top-left of the lower-left corner and winds clockwise.

After appending, Path may be empty, or may contain: Rect, Oval, or RRect.

Return

reference to Path

Parameters

rrect

bounds and radii of rounded rectangle

See also