incrementXY method

  1. @override
Position incrementXY(
  1. num nX,
  2. num nY
)
override

Increments the X,Y coordinates by nX and nY.

Implementation

@override
Position incrementXY(num nX, num nY) =>
    translate = translate.incrementXY(nX, nY);