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

Method beginContour

core/src/processing/core/PShape.java:628–645  ·  view source on GitHub ↗

@webref shape:vertex @brief Starts a new contour @see PShape#endContour()

()

Source from the content-addressed store, hash-verified

626 * @see PShape#endContour()
627 */
628 public void beginContour() {
629 if (!openShape) {
630 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "beginContour()");
631 return;
632 }
633
634 if (family == GROUP) {
635 PGraphics.showWarning("Cannot begin contour in GROUP shapes");
636 return;
637 }
638
639 if (openContour) {
640 PGraphics.showWarning("Already called beginContour().");
641 return;
642 }
643 openContour = true;
644 beginContourImpl();
645 }
646
647
648 protected void beginContourImpl() {

Callers 1

getShapeMethod · 0.95

Calls 2

showWarningMethod · 0.95
beginContourImplMethod · 0.95

Tested by

no test coverage detected