Examples of strokeWeight()


Examples of processing.core.PGraphics.strokeWeight()

        //Graphics
        PGraphics graphics = target.getGraphics();

        if (borderSize > 0) {
            graphics.stroke(borderColor.getRed(), borderColor.getGreen(), borderColor.getBlue(), alpha);
            graphics.strokeWeight(borderSize);
        } else {
            graphics.noStroke();
        }
        graphics.fill(color.getRed(), color.getGreen(), color.getBlue(), alpha);
        graphics.rect(x, y, size, size);
View Full Code Here

Examples of processing.core.PGraphics.strokeWeight()

      String infoText = (int) coord.column + ", " + (int) coord.row + "\nz: " + (int) coord.zoom;
      pg.text(infoText, pg.width / 2 - pg.textWidth(infoText) / 2, pg.height / 2 - 10);
    }

    if (showDebugBorder) {
      pg.strokeWeight(2);
      pg.stroke(255, 0, 0, 100);
      pg.noFill();
      pg.rect(0, 0, pg.width, pg.height);
    }
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.strokeWeight()

    pdf.setOutput(out);

    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);
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.strokeWeight()

    pdf.setOutput(out);
  //  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.strokeWeight()

    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();
View Full Code Here

Examples of processing.pdf.PGraphicsPDF.strokeWeight()

        pdfSaveLocation);
   
    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);
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.