mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
JavaDocs Updated for getVertexCount() in PShape class
This commit is contained in:
@@ -2335,13 +2335,13 @@ public class PShape implements PConstants {
|
||||
}
|
||||
|
||||
/**
|
||||
* The <b>getVertexCount()</b> method returns the number of vertices that
|
||||
* make up a <b>PShape</b>. In the above example, the value 4 is returned by the
|
||||
* 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
|
||||
* 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
|
||||
* <b>getVertexCount()</b> method because 4 vertices are defined in
|
||||
* <b>setup()</b>.
|
||||
*
|
||||
* @webref pshape:method
|
||||
* @webBrief Returns the total number of vertices as an int
|
||||
* @webBrief Returns the total number of vertices as an int with an option to count children Vertex for GROUP Shapes
|
||||
* @see PShape#getVertex(int)
|
||||
* @see PShape#setVertex(int, float, float)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user