You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The <b>getVertexCount()</b> method returns the number of vertices that
2339
-
* make up a <b>PShape</b>. In the above example, the value 4 is returned by the
2338
+
* The <b>getVertexCount()</b> method returns the number of vertices (with an option to count children by passing true as boolean parameter to method call) that
2339
+
* make up a <b>PShape</b>. By default, it does not count child vertices for GROUP shapes. To include child vertices, pass <b>true</b> as a boolean parameter. In the above example, the value 4 is returned by the
2340
2340
* <b>getVertexCount()</b> method because 4 vertices are defined in
2341
2341
* <b>setup()</b>.
2342
2342
*
2343
2343
* @webref pshape:method
2344
-
* @webBrief Returns the total number of vertices as an int
2344
+
* @webBrief Returns the total number of vertices as an int with an option to count children Vertex for GROUP Shapes
0 commit comments