• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stretching images

 
Jude Fawly
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

how can i stretch images programatically, i saw some programmers do it in thier midlets.

thanks.
 
Jay Sanchez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you create an Image object like,

Image myImage = Image.createImage("/images/image.png");

There are certain services for the image object. I believe you can mess around with the size using the methods in the image object. If you use a dev tool like Netbeans or JBuilder, when you create an object like Image, and you type this: "myImage.", it will pop up a window showing you all the methods that are public in that object.

Hope this answers your questions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic