Canvas:getWidth

Returns the width of the Canvas.

Function

Synopsis

w = Canvas:getWidth( )

Arguments

None.

Returns

number w
The width of the Canvas, in pixels.

See Also


Other Languages