withTranslation method

Transform2D withTranslation(
  1. Offset translation
)

Implementation

Transform2D withTranslation(Offset translation) {
  return Transform2D(
    a: a,
    b: b,
    c: c,
    d: d,
    tx: translation.dx,
    ty: translation.dy,
  );
}