copy

open override fun copy(polyline: Polyline): PolylineNode

Returns a PolylineNode around polyline, carrying this leaf's style and tags.

The leaf's rebuild hook: every shape-preserving operation returns through it, so the moved leaf keeps its decoration.

Return

The rebuilt leaf.

Parameters

polyline

The replacement geometry.