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

(Created page with "Checks if a display mode is supported. 检查是否支持这种显示模式. == Function == === Synopsis === <source lang="lua"> supported = love.graphics.checkMode( width, heigh...")
 
m
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
{{param|boolean|supported|支持返回true.不支持返回false}}
 
{{param|boolean|supported|支持返回true.不支持返回false}}
 
== See Also ==
 
== See Also ==
* [[parent::love.graphics]]
+
* [[parent::love.graphics (简体中文)]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Sub-Category::Drawing (简体中文)| ]]
 
{{#set:Description=Checks if a display mode is supported.检查是否支持这种显示模式.}}
 
{{#set:Description=Checks if a display mode is supported.检查是否支持这种显示模式.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.checkMode}}
 
{{i18n|love.graphics.checkMode}}

Latest revision as of 00:21, 4 April 2013

Checks if a display mode is supported. 检查是否支持这种显示模式.

Function

Synopsis

supported = love.graphics.checkMode( width, height, fullscreen )

Arguments

number width
显示宽度.
number height
显示高度.
boolean fullscreen
是否是全屏

Returns

boolean supported
支持返回true.不支持返回false

See Also


Other Languages