0

I have an image and I want to add an overlay or to find another way to combine two images in Nokia SDK 2.0 (J2ME)... I need that one of the images to be partial transparent

Thanks

danysz
  • 580
  • 3
  • 11
  • I'm assuming you're talking high level stuff (Form), since with low level stuff (Canvas) you can just draw the overlay on top of the images. So, with high level stuff, I would extend the Image class, and add the overlay functionality in my own class. – mr_lou May 19 '13 at 15:45
  • I am talking about canvas ... didn't found anything working... – danysz May 20 '13 at 00:18
  • 1
    Why don't you just draw your overlay after drawing the image? – mr_lou May 20 '13 at 05:35
  • how ? I'm looking for some code doing that ... – danysz May 21 '13 at 21:17
  • Same way you'd draw any image. First g.drawImage(someImage,x,y,anchor); Then g.drawImage(overlayImage,x,y,anchor); – mr_lou May 22 '13 at 04:24

1 Answers1

0

For overlay in J2ME You should use JSR 234 AMMS this provide overlay control.

Saurav
  • 248
  • 3
  • 13