dump RectF to log - Android android.graphics

Android examples for android.graphics:RectF

Description

dump RectF to log

Demo Code

import android.graphics.RectF;
import android.util.Log;

public class Main {

  private static final String TAG = "Util";

  public static void dumpRect(RectF rect, String msg) {
    Log.v(TAG, msg + "=(" + rect.left + "," + rect.top + "," + rect.right + "," + rect.bottom + ")");
  }/*from w  ww .  j a  v  a  2 s  . co m*/

}

Related Tutorials