Graphics-----Typefaces
1. 用法
Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);Typeface mFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/samplefont.ttf");mPaint.setTypeface(mFace);
发布时间: 2012-08-21 13:00:22 作者: rapoo
Graphics-----Typefaces
1. 用法
Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);Typeface mFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/samplefont.ttf");mPaint.setTypeface(mFace);