Toggles the framebuffer's autosizing mode or returns the current mode.
By default, the framebuffer automatically resizes to match the canvas that created it. Calling myBuffer.autoSized(false)
disables this behavior and calling myBuffer.autoSized(true)
re-enables it.
Calling myBuffer.autoSized()
without an argument returns true
if the framebuffer automatically resizes and false
if not.
Examples
Syntax
autoSized([autoSized])
Parameters
Returns
Related References
textToContours
Returns an array of arrays of points outlining a string of text written using the font.
textToModel
Converts text into a 3D model that can be rendered in WebGL mode.
textToPaths
Returns a flat array of path commands that describe the outlines of a string of text.
textToPoints
Returns an array of points outlining a string of text written using the font.