Android开发TextvView实现镂空字体效果
记录一下...
自定义TextView
public class HollowTextView extends AppCompatTextView {
private Paint mTextPaint, mBackgroundPaint;
private Bitmap mBackgroundBitmap,mTextBitmap;
private Canvas mBackgroundCanvas,mTextCanvas;
private RectF mBackgrou..
原创
2020-10-28 13:26:32 ·
1091 阅读 ·
5 评论