xor

infix inline fun Path.xor(p: Path): Path(source)

Returns the union minus the intersection of two paths as a new Path.


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

Returns the union minus the intersection of two rectangles as a new region.


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

Returns the union minus the intersection of two rectangles as a new region. The two rectangles are first converted to Rect using RectF.toRect.


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

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


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

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