MCPcopy Index your code
hub / github.com/processing/processing / closePath

Method closePath

core/src/processing/opengl/LinePath.java:277–282  ·  view source on GitHub ↗

Closes the current subpath by drawing a straight line back to the coordinates of the last moveTo. If the path is already closed then this method has no effect.

()

Source from the content-addressed store, hash-verified

275 * this method has no effect.
276 */
277 public final void closePath() {
278 if (numTypes == 0 || pointTypes[numTypes - 1] != SEG_CLOSE) {
279 needRoom(false, 0);
280 pointTypes[numTypes++] = SEG_CLOSE;
281 }
282 }
283
284
285 /**

Callers 15

tessellateLineLoop2DMethod · 0.95
tessellateEdges2DMethod · 0.95
closeMethod · 0.80
endContourMethod · 0.80
endShapeMethod · 0.80
drawShapeMethod · 0.80
triangleMethod · 0.80
quadMethod · 0.80
endContourMethod · 0.80
endShapeMethod · 0.80
triangleMethod · 0.80
quadMethod · 0.80

Calls 1

needRoomMethod · 0.95

Tested by

no test coverage detected