Rect
fun Rect(rect: Rect, fillType: PathFillMode = PathFillMode.WINDING, direction: PathDirection = PathDirection.CLOCKWISE, startIndex: Int = 0): Path
Creates a rectangular path.
Return
new rectangular Path
Parameters
rect
rectangle bounds
fillType
fill type for the path
direction
direction to wind the rectangle
startIndex
starting corner index (0-3)