mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 10:00:42 +01:00
56 lines
895 B
XML
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 & 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>
|