Type Number Library display.* Revision Release 2022.3683 Keywords actualContentWidth, content width See also display.actualContentHeight display.safeActualContentWidth
The width in Corona content units of the screen. The result depends on the scale
setting in config.lua
. See the Project Configuration guide for more information.
For letterbox
scale, returns the content width, including the letterbox area.
For zoomEven
scale, returns a value matching the display.viewableContentWidth property.
print( display.actualContentWidth )