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

xor

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

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

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

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