Documentation / @debuffjp/core / ScaleMode
Type Alias: ScaleMode
ScaleMode =
"fit"|"integer"|"none"
Defined in: game.ts:24
How the logical resolution maps onto the page:
fit: scale to fill the container, preserving aspect ratio (letterboxed).integer: likefitbut only whole-number scales, for crisp pixel art.none: canvas stays at its logical size in CSS pixels.