core-ktx / androidx.graphics / android.graphics.Region / minus

minus

inline operator fun Region.minus(r: Rect): Region

Return the difference of this region and the specified Rect as a new region.

inline operator fun Region.minus(r: Region): Region

Return the difference of this region and the specified region as a new region.