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

and

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

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

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

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