setXY method

  1. @override
Position setXY(
  1. num x,
  2. num y
)
override

Sets the X and Y coordinate.

Implementation

@override
Position setXY(num x, num y) {
  translate = Point(x, y);
  return this;
}