or

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

Returns the union of two paths as a new Path.


infix inline fun Rect.or(r: Rect): Rect(source)
infix inline fun RectF.or(r: RectF): RectF(source)

Returns the union of two rectangles as a new rectangle.


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

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


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

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