tags:

views:

23

answers:

1

How to draw a transparent rectangle in j2me?

+1  A: 

Transparency is supported only in immutable images, i.e. images loaded from files. So you can create appropriate image. Or create transparency via filling its transparency parts with background color.

Donz
Hi Donz can you put some code about that?
newcomer
What code do you need? Image img = Image.createImage("/someImgWithTransparency.png"); gr.drawImage(img, 0, 0, Graphics.TOP | Graphics.LEFT)
Donz