Examples of textDescent()


Examples of processing.core.PApplet.textDescent()

  private void adjustMetrics() {
    PApplet app = H.app();
    app.pushStyle();
    app.textFont(_font,(_height < 0)? -_height : _height);
   
    _descent = app.textDescent();
    _width = (_text==null)? 0 :
      (_width<0)? -app.textWidth(_text) : app.textWidth(_text);
   
    app.popStyle();
  }
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.