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