I have a image drawn in canvas, its of size 600* 400, i have to view the whole image by scrolling. I have written a code to scroll the image, but while doing so i have to track the center coordinates of the image, where I am at currently. Is there a way to track that, I saw there is a function called getClipX() and getClipY(). But that doesn't work.
Looking for some help.