0

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,

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.