Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Paint text = new Paint();
- text.setAntiAlias(false);
- text.setFilterBitmap(false);
- text.setDither(false);
- text.setFakeBoldText(false);
- text.setLinearText(false);
- text.setTextSize(10);
- // Scale the canvas we draw on
- matrix = c.getMatrix();
- matrix.reset();
- matrix.postTranslate(0, 0);
- matrix.postScale(10,10);
- c.setMatrix(matrix);
- c.drawText("ABCabc", 0, 10, text);
- text.setTextScaleX(5);
Add Comment
Please, Sign In to add comment