union

Applies a boolean org.openrndr.shape.union operation between two ShapeContours.


fun union(from: Shape, add: ShapeContour): Shape(source)

Applies a boolean org.openrndr.shape.union operation between a Shape and a ShapeContour.


fun union(from: Shape, add: Shape): Shape(source)
fun Shape.union(other: Shape): Shape(source)

Applies a boolean org.openrndr.shape.union operation between two Shapes.


Applies a boolean org.openrndr.shape.union operation between a List of Shapes and a ShapeContour.


fun union(from: List<Shape>, add: Shape): List<Shape>(source)

Applies a boolean org.openrndr.shape.union operation between a List of Shapes and a Shape.


fun union(from: List<Shape>, add: List<Shape>): List<Shape>(source)

Applies a boolean org.openrndr.shape.union operation between two Lists of Shapes.


@JvmName(name = "unionIterative")
fun union(from: List<Shape>, add: List<List<Shape>>): List<Shape>(source)

Applies a boolean org.openrndr.shape.union operation iteratively between a List of Shapes and a two-dimensional List of Shapes.

add is traversed and a boolean union is applied between from and each element.


Applies a boolean org.openrndr.shape.union operation between the ShapeContour and a Shape.