fun nearest(point: Vector2, searchFrom: CompositionNode = composition.root as GroupNode): ShapeNodeNearestContour?
Content copied to clipboard
Search for a point on a contour in the composition tree that's nearest to
an optional org.openrndr.shape.ShapeNodeNearestContour instance
the query point
a node from which the search starts, defaults to composition root