How would I draw an image on canvas and position it based on x/Y co-ords? Also, is it possible to check if an image is drawn at those co-ords?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the BitmapFactory to get your image from file, or wherever, then
you can use one of the overloads of
Canvas.drawBitmap(...)] to draw the image on the canvas. One of the overloads takes x/y coordinates.