ResizerPluginOptions
ResizerPluginOptions =
object
Defined in: plugins/ResizerPlugin.ts:20
Configuration options for the Resizer plugin
Properties
Section titled “Properties”autoScroll
Section titled “autoScroll”autoScroll:
boolean
Defined in: plugins/ResizerPlugin.ts:22
Whether to scroll the window to the top when resizing
center
Section titled “center”center:
boolean
Defined in: plugins/ResizerPlugin.ts:30
Whether to center the canvas (particularly useful in letterbox mode)
debug:
boolean
Defined in: plugins/ResizerPlugin.ts:32
Whether to draw debug information for visualizing canvas bounds
letterbox
Section titled “letterbox”letterbox:
boolean
Defined in: plugins/ResizerPlugin.ts:28
Whether to letterbox the canvas to maintain aspect ratio
minHeight
Section titled “minHeight”minHeight:
number
Defined in: plugins/ResizerPlugin.ts:26
The minimum height of the canvas. Also controls aspect ratio in letterbox mode
minWidth
Section titled “minWidth”minWidth:
number
Defined in: plugins/ResizerPlugin.ts:24
The minimum width at which the renderer will resize. Also controls aspect ratio in letterbox mode