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

or

inline infix fun Region.or(r: Rect): Region

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

inline infix fun Region.or(r: Region): Region

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