Skip to content

Commit

Permalink
fixed drawDiagonalFromTopLeftRoundRect (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigeye-wg committed Sep 14, 2020
1 parent 056adc6 commit fa04c1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ private void drawDiagonalFromTopLeftRoundRect(Canvas canvas, Paint paint, float
radius, paint);
canvas.drawRoundRect(new RectF(right - diameter, bottom - diameter, right, bottom), radius,
radius, paint);
canvas.drawRect(new RectF(margin, margin + radius, right - diameter, bottom), paint);
canvas.drawRect(new RectF(margin + diameter, margin, right, bottom - radius), paint);
canvas.drawRect(new RectF(margin, margin + radius, right - radius, bottom), paint);
canvas.drawRect(new RectF(margin + radius, margin, right, bottom - radius), paint);
}

private void drawDiagonalFromTopRightRoundRect(Canvas canvas, Paint paint, float right,
Expand Down

0 comments on commit fa04c1b

Please sign in to comment.