Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); Typeface mFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/samplefont.ttf"); mPaint.setTypeface(mFace);
Paint
最新推荐文章于 2024-03-16 09:40:34 发布
Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); Typeface mFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/samplefont.ttf"); mPaint.setTypeface(mFace);