Canvas:getWidth
Returns the width of the Canvas, its Textures, and its depth buffer.
width = Canvas:getWidth()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the Canvas, in pixels. |
Notes
The width of a Canvas can not be changed after it is created.
See also
Canvas:getHeight
Canvas:getDimensions
Canvas