translate method
Applies an offset to this position, returning a new position.
Implementation
ScreenPosition translate(ScreenOffset delta) =>
ScreenPosition(offset + delta.offset);
Applies an offset to this position, returning a new position.
ScreenPosition translate(ScreenOffset delta) =>
ScreenPosition(offset + delta.offset);