transform method
Implementation
CustomPoint<double> transform(CustomPoint point, double? scale) {
scale ??= 1.0;
final x = scale * (a * point.x + b);
final y = scale * (c * point.y + d);
return CustomPoint(x, y);
}
CustomPoint<double> transform(CustomPoint point, double? scale) {
scale ??= 1.0;
final x = scale * (a * point.x + b);
final y = scale * (c * point.y + d);
return CustomPoint(x, y);
}