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