setPath

fun setPath(path: Path, clip: Region): Boolean

Sets this region to the rasterized outline of path clipped by clip.

Return

true if the resulting region is not empty