apply method

Offset apply(
  1. Offset point
)

Applies this transform to a point.

Implementation

Offset apply(Offset point) {
  return Offset(
    point.dx * scale + translateX,
    point.dy * scale + translateY,
  );
}