I want to draw line between consecutive circles which consists of (x,y) 
coordinates using for-loop. now i am working in code:

for (int i = 48; i <= 67; i++) {
                point = landmarks.get(i);
                //Log.d(TAG,"landmarks (" + landmarks.get(i) +")");
                int pointX = (int) (point.x * resizeRatio);
                int pointY = (int) (point.y * resizeRatio);

               // canvas.drawLine(pointX,pointY,pointX,pointY,paint);
             //   canvas.drawLine(109,294,124,289,paint);
               canvas.drawCircle(pointX, pointY, 2, paint);
               }

regards,

Amrutha

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-discuss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-discuss/d92cafa5-da69-47e1-b7e8-8a566e907918%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to