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

56 lines
895 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>endShape()</name>
<category>Shape</category>
<subcategory>Vertex</subcategory>
<usage>Web &amp; Application</usage>
<example>
<image>endShape_.gif</image>
<code>
beginShape(LINE_STRIP);
vertex(30, 20);
vertex(85, 20);
vertex(85, 75);
vertex(30, 75);
endShape();
</code>
</example>
<description>
The <b>endShape()</b> function is the companion to <b>beginShape()</b> and may only be called after the later. When <b>endshape()</b> is called, all of image data defined since the previous call to <b>beginShape()</b> is written into the image buffer.
</description>
<syntax>
beginShape()
</syntax>
<parameter>
<label></label>
<description></description>
</parameter>
<returns>None</returns>
<related>
beginShape()
</related>
<availability>1.0</availability>
<type>Function</type>
<partof>Core</partof>
</root>