openrndr / org.openrndr.shape / split

split

fun split(shape: Shape, line: LineSegment): Pair<List<Shape>, List<Shape>> (source)