Examples of stroke()


Examples of processing.core.PGraphics.stroke()

   
    pg.noStroke();

    pg.smooth();
    pg.strokeWeight(1);
    pg.stroke(200, 200, 200);
    pg.noFill();

    roundrect(pg, 0, 0, w + 4, h + 4, 4); //right bottom border off texture
    int offsetX = (int) ((w - img.width) / 2);
    int offsetY = (int) ((h - img.height) / 2);
View Full Code Here

Examples of processing.core.PGraphics.stroke()

    pg.beginDraw();
    pg.smooth();
   
    pg.noStroke();

    pg.stroke(200, 200, 200);
    pg.fill(255, 255, 255);

    int offsetX = (int) ((w - img.width) / 2);
    int offsetY = (int) ((h - img.height) / 2);
    pg.image(img, (int)offsetX, (int)offsetY);
View Full Code Here

Examples of processing.core.PShape.stroke()

  public void updateShape(String shapeName, ShapeFeature shapeFeature, boolean update) {
    if (!update) {
      // Create shape
      PShape shape = createShape();
      shape.beginShape();
      shape.stroke(30);
      //shape.fill(255, 0, 0, 4);
      shape.fill(color(255, 0, 0), 100);
      updateShapeVertices(shape, shapeFeature, false);
      shape.endShape();
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.stroke()

    pdf.beginDraw();
    //pdf.scale(pdf_pixels_per_mm );

    pdf.strokeWeight(.0001f);
    pdf.stroke(255, 0, 0);

    //PFont font = a.createFont("Arial", 8);
    //pdf.textFont(font);

    this.pages.renderPDF(pdf, pdf_pixels_per_mm);
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.stroke()

  //  pdf.textSize(this.textSize);
    pdf.beginDraw();
    //pdf.scale(pdf_pixels_per_mm );

    pdf.strokeWeight(.0001f);
    pdf.stroke(255, 0, 0);
    this.pages.renderPDF(pdf, pdf_pixels_per_mm);
    pdf.dispose();
    pdf.endDraw();
    return out;
  }
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.stroke()

    pdf.beginDraw();
    //pdf.scale(pdf_pixels_per_mm );

    pdf.strokeWeight(.0001f);
    pdf.stroke(255, 0, 0);
    this.pages.renderPDF(pdf, pdf_pixels_per_mm);
    pdf.dispose();
    pdf.endDraw();

  }
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.stroke()

   
    LOGGER.info("sending PDF to " + pdfSaveLocation);
    pdf.beginDraw();
    //pdf.scale(pdf_pixels_per_mm);
    pdf.strokeWeight(.0001f);
    pdf.stroke(255, 0, 0);
    //PFont font = a.createFont("Arial", this.textSize);
    //pdf.textFont(font);
    pdf.textSize(this.textSize);
    this.pages.renderPDF(pdf, pdf_pixels_per_mm);
    pdf.dispose();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.