public void strokeJoin(int join) { g.strokeJoin(join); }
/** * ( begin auto-generated from strokeJoin.xml ) * * Sets the style of the joints which connect line segments. These joints * are either mitered, beveled, or rounded and specified with the * corresponding parameters MITER, BEVEL, and ROUND. The default joint is * MITER. * <br/> <br/> * This function is not available with the P3D renderer, (<a * href="http://code.google.com/p/processing/issues/detail?id=123">see * Issue 123</a>). More information about the renderers can be found in the * <b>size()</b> reference. * * ( end auto-generated ) * * @webref shape:attributes * @param join either MITER, BEVEL, ROUND * @see PGraphics#stroke(int, float) * @see PGraphics#strokeWeight(float) * @see PGraphics#strokeCap(int) */ public void strokeJoin(int join) { if (recorder != null) recorder.strokeJoin(join); g.strokeJoin(join); }
@Override public void strokeJoin(int join) { super.strokeJoin(join); if (strokeJoin == MITER) { strokePaint.setStrokeJoin(Paint.Join.MITER); } else if (strokeJoin == ROUND) { strokePaint.setStrokeJoin(Paint.Join.ROUND); } else { strokePaint.setStrokeJoin(Paint.Join.BEVEL); } }
@Override public void strokeJoin(int join) { super.strokeJoin(join); strokeImpl(); }
@Override public void strokeJoin(int join) { super.strokeJoin(join); if (strokeJoin == MITER) { context.setLineJoin(StrokeLineJoin.MITER); } else if (strokeJoin == ROUND) { context.setLineJoin(StrokeLineJoin.ROUND); } else { context.setLineJoin(StrokeLineJoin.BEVEL); } }
protected void styles(PGraphics g) { // should not be necessary because using only the int version of color //parent.colorMode(PConstants.RGB, 255); if (stroke) { g.stroke(strokeColor); g.strokeWeight(strokeWeight); g.strokeCap(strokeCap); g.strokeJoin(strokeJoin); } else { g.noStroke(); } if (fill) { //System.out.println("filling " + PApplet.hex(fillColor)); g.fill(fillColor); } else { g.noFill(); } }
protected void styles(PGraphics g) { // should not be necessary because using only the int version of color //parent.colorMode(PConstants.RGB, 255); if (stroke) { g.stroke(strokeColor); g.strokeWeight(strokeWeight); g.strokeCap(strokeCap); g.strokeJoin(strokeJoin); } else { g.noStroke(); } if (fill) { //System.out.println("filling " + PApplet.hex(fillColor)); g.fill(fillColor); } else { g.noFill(); } }
strokeJoin(DEFAULT_STROKE_JOIN); strokeCap(DEFAULT_STROKE_CAP);
strokeJoin(DEFAULT_STROKE_JOIN); strokeCap(DEFAULT_STROKE_CAP);
strokeJoin(strokeJoin);
strokeJoin(strokeJoin);
strokeJoin(s.strokeJoin);
strokeJoin(s.strokeJoin);
raw.noFill(); raw.strokeCap(strokeCap); raw.strokeJoin(strokeJoin); raw.beginShape(LINES);
raw.noFill(); raw.strokeCap(strokeCap); raw.strokeJoin(strokeJoin); raw.beginShape(LINES);
raw.noFill(); raw.strokeCap(strokeCap); raw.strokeJoin(strokeJoin); raw.beginShape(LINES);
raw.noFill(); raw.strokeCap(strokeCap); raw.strokeJoin(strokeJoin); raw.beginShape(LINES);