getPath

abstract fun getPath(view: View, path: Path)

Called whenever the target View's shape cannot be determined internally.

The view is the target itself, and the path is an empty instance that should be set appropriately. If the Path is left empty, the clipped shadow will not be drawn.