incrementX method

  1. @override
Position incrementX(
  1. num n
)
override

Increments the X coordinate by n

Implementation

@override
Position incrementX(num n) {
  translate = translate.incrementX(n);
  return this;
}