Files
processing4/web/reference/API/height.xml
2005-01-27 06:48:42 +00:00

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 &amp; 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>