mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
54 lines
910 B
XML
54 lines
910 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<root>
|
|
<name>height</name>
|
|
|
|
<category>Environment</category>
|
|
|
|
<subcategory></subcategory>
|
|
|
|
<usage>Web & Application</usage>
|
|
|
|
<example>
|
|
<image>height.gif</image>
|
|
<code>
|
|
noStroke();
|
|
background(0);
|
|
rect(40, 0, 20, height);
|
|
rect(60, 0, 20, height/2);
|
|
</code>
|
|
</example>
|
|
|
|
<description>
|
|
System variable which stores the height of the display window. This value is set by the second parameter of the <b>size()</b> function. For example, the function call <b>size(320, 240)</b> sets the <b>height</b> variable to the value 240. The value of <b>height</b> is zero until <b>size()</b> is called.
|
|
</description>
|
|
|
|
<syntax>
|
|
height
|
|
</syntax>
|
|
|
|
<parameter>
|
|
<label></label>
|
|
<description></description>
|
|
</parameter>
|
|
|
|
<returns></returns>
|
|
|
|
<related>
|
|
width
|
|
</related>
|
|
|
|
<availability>1.0</availability>
|
|
|
|
<type>System variable</type>
|
|
|
|
<partof>Core</partof>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</root>
|