Skip to content

Commit

Permalink
chore: Set antialias for CornerRadius
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Aug 16, 2023
1 parent bb32e24 commit 8046a18
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static void buildBorderCornerRadius(
drawable.setShape(new PathShape(borderPath, width, height));

Paint paint = drawable.getPaint();
paing.setAntiAlias(true);
paint.setAlpha(strokePaint.getAlpha());
paint.setColor(strokePaint.getColor());
paint.setShader(strokePaint.getShader());
Expand Down

0 comments on commit 8046a18

Please sign in to comment.