Difference between revisions of "love.window (简体中文)"

m (添加 template:newin (简体中文))
(函数)
 
Line 14: Line 14:
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 
}}
 
}}
 +
 
== 枚举 ==
 
== 枚举 ==
 
{{#ask: [[Category:Enums]] [[parent::love.window (简体中文)]] [[Concept:Current]]
 
{{#ask: [[Category:Enums]] [[parent::love.window (简体中文)]] [[Concept:Current]]

Latest revision as of 14:24, 14 March 2018

自 LÖVE 0.9.0 可以使用
此 模块 在早期版本中不受支持.


提供一个改变或获取程序窗口信息的接口。

函数

love.window.close (简体中文) 关闭窗口。 Added since 0.10.0
love.window.fromPixels (简体中文) 把以像素为单位的数字转换为设备无关单位。 Added since 0.9.2
love.window.getDesktopDimensions (简体中文) 获取桌面(显示器)的宽和高) Added since 0.9.0
love.window.getDimensions (简体中文) 获取窗口的宽和高 Added since 0.9.0 Removed in 0.10.0
love.window.getDisplayCount (简体中文) 获取连接显示器的数量。 Added since 0.9.0
love.window.getDisplayName (简体中文) 获取显示器的名称。 Added since 0.9.2
love.window.getFullscreen (简体中文) 判断是否全屏。 Added since 0.9.0
love.window.getFullscreenModes (简体中文) 获取能支持的分辨率的列表。 Added since 0.9.0
love.window.getHeight (简体中文) 获取窗口的高。 Added since 0.9.0 Removed in 0.10.0
love.window.getIcon (简体中文) 获取窗口图标。 Added since 0.9.0
love.window.getMode (简体中文) (待翻译)Gets the display mode and properties of the window. Added since 0.9.0
love.window.getWidth (简体中文) 获取窗口的宽 Added since 0.9.0 Removed in 0.10.0

枚举

请参阅

其他语言