Package processing.core

Examples of processing.core.PGraphics.text()


    g.printMatrix();
    g.printCamera();
    g.printProjection();
    */ 
   
    textG.text(
        str,
        2,
        h
            - (g.textDescent()+g.textAscent() - 1)
            - ((getController().labelSize + g.textDescent() + 1) * (ln - 1)));
View Full Code Here


    }

    if (showTileCoordinates) {
      pg.fill(0);
      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);
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.