or

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

Returns the union of two paths as a new Path.


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

Returns the union of two rectangles as a new rectangle.


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

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


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

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