Examples of drawTextInBatch()


Examples of pu.web.client.PU_Font.drawTextInBatch()

    }
   
    int nameHalf = (int)(Math.floor((float)font.getStringWidth(header) / 2.0));
        int centerPos = posHalf - nameHalf;

        font.drawTextInBatch(header, centerPos, drawY);
       
        for(int i = 0; i < mLines.size(); i++)
        {
          PU_OnscreenChatLine line = mLines.get(i);
          if(line != null)
View Full Code Here

Examples of pu.web.client.PU_Font.drawTextInBatch()

          if(line != null)
          {
            nameHalf = (int)Math.floor((float)font.getStringWidth(line.getText())/2.0);
            centerPos = posHalf - nameHalf;
           
            font.drawTextInBatch(line.getText(), centerPos, drawY+((i+1)*lineHeight));
          }
        }
       
        updateLines(ticks);
        if(mLines.size() <= 0)
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.