Skip to content

Commit

Permalink
更新相机工具类
Browse files Browse the repository at this point in the history
  • Loading branch information
秋逸 committed Jul 9, 2018
1 parent 21c0aaa commit cb0233f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RxKit/src/main/java/com/vondear/rxtool/RxImageTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ public static Bitmap createTextImage(Bitmap source, int txtSize, String innerTxt


Paint paint = new Paint();
paint.setColor(textBackgroundColor);
paint.setColor(textColor);
paint.setTextSize(txtSize);
paint.setAntiAlias(true);

Expand All @@ -1957,7 +1957,7 @@ public static Bitmap createTextImage(Bitmap source, int txtSize, String innerTxt
int textX = posX + txtSize * innerTxt.length() / 4;

Paint paint1 = new Paint();
paint1.setColor(textColor);
paint1.setColor(textBackgroundColor);
paint1.setStrokeWidth(3);
paint1.setStyle(Paint.Style.FILL_AND_STROKE);

Expand Down

0 comments on commit cb0233f

Please sign in to comment.