Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes Java Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java Image" Watch "Java Image" New topic
Author

Java Image

Puneet Gupta
Greenhorn

Joined: Aug 20, 2003
Posts: 9
Need your help on this.
I have a background image(Image object) and a canvas(canvas Object).
Is it possible that the background image stretch to the canvas size. I am able to retrive the canvas size by getWidth() & getHeight().

basically i want to load the image as background image so that the image width/height get resized to the canvas width/heingt.
The canvas size can also change as per the user screen or user requirement.

regards,
Puneet Gupta
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java Image