用户等级和粉丝团的更改
This commit is contained in:
@@ -525,8 +525,14 @@ public class LiveTextRender {
|
||||
mPaint.setColor(Color.WHITE);
|
||||
mPaint.setTextSize(50);
|
||||
mPaint.setTypeface(font);
|
||||
int indexX = 80;
|
||||
//水印的位置坐标
|
||||
mCanvas.drawText(level, 80, 53, mPaint);
|
||||
if (level.length() > 2) {
|
||||
indexX = 75;
|
||||
} else {
|
||||
indexX = 84;
|
||||
}
|
||||
mCanvas.drawText(level, indexX, 53, mPaint);
|
||||
mCanvas.save();
|
||||
mCanvas.restore();
|
||||
return mNewBitmap;
|
||||
|
||||
Reference in New Issue
Block a user