getPath

open override fun getPath(view: View, path: Path)(source)

Called for non-rectangular shapes on API levels 30 and above.

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