dump RectF - Android android.graphics

Android examples for android.graphics:RectF

Description

dump RectF

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 + ")");
  }//  w  ww . j  a v a  2 s.  co m
}

Related Tutorials