Transform an edge with a function (on Point
@override PathEdge transformed(Point<double> Function(Point<double>) transform) { return LineEdge(transform(from), transform(to)); }