Canvas:getWidth

Gets the width of the Canvas.

Function

Synopsis

width = Canvas:getWidth( )

Arguments

None.

Returns

number width
The width of the Canvas, in pixels.

See Also


Other Languages

Personal tools