Engine API Reference - v2.6.1
    Preparing search index...

    Variable FILLMODE_KEEP_ASPECTConst

    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.