L.Path.Transform

Star Fork

Drag handlers around to see it in action
Red polygon has ~13 000 points

Documentation