Anchor point used in drawImage() of Graphics class
Hi all,
This is sourab.I need to know about the concepts of anchor point used in drawImage() of Graphics class.We all know in drawImage() method has four co-ordinates.First one is for Image name,second one is for x coordinate ,third one is for y coordinate and the final one is for anchor point.Actually anchor point will place the image in the corresponding position.Now my doubt is what is the purpose of x,y coordinates.
Also i want some links to learn about this anchor point concepts.Can anyone provide solution to me ASAP.
Regards/Thanks,
Sourab
[582 byte] By [
souraba] at [2007-11-27 10:04:52]

Thanks a lot.Actually i mean the drawImage() of Graphics class used in the j2me canvas.I have seen the api.But i cannot able to get clear idea with that information.Can u explain the concept of x,y coordinates combined with the anchor point.Thanks/Sourab
> We all know in drawImage() method has four co-ordinates. [coördinates?]
http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html
Or 5 or 6 or 7 or 10 or 11. And if you include Graphics2D:
http://java.sun.com/javase/6/docs/api/java/awt/Graphics2D.html
There is second one taking 4 arguments, and one taking 3.