dimanche 8 mars 2015

Apply Style on Canvas Text


Vote count:

0




I try to use canvas to draw text in android. But I want to put more style on it, and don't know how, please help. void onDraw(Canvas cn){ Paint myP=new Paint(); myP.setTextSize((float) (12*Main.screenH)); cn.drawText(qty + "paper = " + qty * money.getMonType().qty + "amount", (int)(340*Main.screenW),(int)(80*Main.screenH), myP); }



asked 1 min ago







Apply Style on Canvas Text

Aucun commentaire:

Enregistrer un commentaire