ShapePointTransformer typedef
Transforms the point (x, y) and returns the transformed coordinates.
This is used by CubicBezier.transformed, PolygonFeature.transformed and RoundedPolygon.transformed to apply arbitrary transformations to a shape.
Implementation
typedef ShapePointTransformer = (double, double) Function(double x, double y);