コード例 #1
0
 public static void dumpVertex(AnimationRect rect) {
   Log.i(TAG, "Dump Vertex Animation Rect begin");
   Log.i(
       TAG,
       "("
           + rect.getLeftTop()[0]
           + " , "
           + rect.getLeftTop()[1]
           + ")"
           + " , "
           + "("
           + rect.getRightTop()[0]
           + " , "
           + rect.getRightTop()[1]
           + ")");
   Log.i(
       TAG,
       "("
           + rect.getLeftBottom()[0]
           + " , "
           + rect.getLeftBottom()[1]
           + ")"
           + " , "
           + "("
           + rect.getRightBottom()[0]
           + " , "
           + rect.getRightBottom()[1]
           + ")");
   Log.i(TAG, "Dump Vertex Animation Rect end");
   Log.i(TAG, "(centerX , centerY) = " + "(" + rect.centerX() + " , " + rect.centerY() + ")");
 }