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

Method end

core/src/processing/opengl/LineStroker.java:593–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591 }
592
593 public void end() {
594 if (lineToOrigin) {
595 // not closing the path, do the previous lineTo
596 lineToImpl(sx0, sy0, scolor0, joinToOrigin);
597 lineToOrigin = false;
598 }
599
600 if (prev == LinePath.SEG_LINETO) {
601 finish();
602 }
603
604 output.end();
605 this.joinSegment = false;
606 this.prev = LinePath.SEG_MOVETO;
607 }
608
609 long lineLength(long ldx, long ldy) {
610 long ldet = ((long) m00 * m11 - (long) m01 * m10) >> 16;

Callers

nothing calls this directly

Calls 3

lineToImplMethod · 0.95
finishMethod · 0.95
endMethod · 0.65

Tested by

no test coverage detected