projectVector method
Converts a vector in the world space to the screen space.
This considers both the translation and scaling transformations.
Implementation
@override
Vector2 projectVector(Vector2 viewportCoordinates) {
return (viewportCoordinates * _scale)..add(_resizeOffset);
}