Function to apply this strategy The return value is {scale: [scaleX, scaleY], viewport: {new Rect}}, The target view can then apply these value to itself, it's preferred not to modify directly its private variables
The result scale and viewport rect
Manipulation after applying the strategy
Manipulation before applying the strategy
Generated using TypeDoc
ContentStrategy class is the root strategy class of content's scale strategy, it controls the behavior of how to scale the scene and setup the viewport for the game