clipPath

abstract fun clipPath(commands: List<PathCommand>)

Constrains all subsequent drawing to the area inside commands. Used by container decoration when the corners cannot be expressed as a single uniform cornerRadius. The path is closed implicitly; winding rule is non-zero (the platform default).