Understanding how actually drawRect or drawing coordinates work in Android

canvas.drawRect(left,top,right,bottom,paint);

In this

  1. left: distance of the left side of rectangular from left side of
    canvas.

  2. top:Distance of top side of rectangular from the top side of
    canvas

  3. right:distance of the right side of rectangular from left side of
    canvas.
  4. bottom: Distance of the bottom side of rectangle from top side of canvas.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)