replacedWith

Replace this edge with a point at t

Parameters

t

an edge t value between 0 and 1


fun replacedWith(openContour: ShapeContour): ContourEdge(source)

Replaces the current edge with the segments of an open shape contour.

Return

a new ContourEdge instance with the updated segments from the openContour.

Parameters

openContour

the open shape contour whose segments replace the current edge. The provided contour must not be closed.