Display get height: Difference between revisions
Jump to navigation
Jump to search
FrogotoBot (talk | contribs) m (replacing function titles with notation using AWB, removed: == Notation ==) |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{FuncTitle|display_get_height}} | {{FuncTitle|display_get_height}} | ||
== Description == | == Description == | ||
Gets the height of the display, in pixels, and returns the result. | |||
== Parameters == | == Parameters == | ||
{| class="funcpars" | |||
! Parameter !! Description | |||
|- | |||
| none || this function has no parameters. | |||
|} | |||
== Return Values == | == Return Values == | ||
Returns the height of the display | '''integer''': Returns the height of the display, in pixels. | ||
== Example Call == | == Example Call == | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="edl"> | ||
// demonstrates obtaining the current display resolution | |||
var rx, ry; | |||
rx = display_get_width(); | |||
ry = display_get_height(); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
__NOTOC__ | |||
{{Function:GM}} |
Latest revision as of 17:10, 14 November 2013
Description
Gets the height of the display, in pixels, and returns the result.
Parameters
Parameter | Description |
---|---|
none | this function has no parameters. |
Return Values
integer: Returns the height of the display, in pixels.
Example Call
// demonstrates obtaining the current display resolution
var rx, ry;
rx = display_get_width();
ry = display_get_height();