How To

Mirror Engine API / FILLMODE_KEEP_ASPECT
Variable: FILLMODE_KEEP_ASPECT
const FILLMODE_KEEP_ASPECT: string = 'KEEP_ASPECT'
When resizing the window the size of the canvas will change to fill the window as best it can, while maintaining the same aspect ratio.