# FILLMODE_KEEP_ASPECT

Variable · category: Other

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/framework/constants.js#L15

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.

```ts
const FILLMODE_KEEP_ASPECT: "KEEP_ASPECT" = 'KEEP_ASPECT'
```
