I want to hard code an oval image and use it as a sprite in a pong ball example I've been following online, on a j2me platform.
I'm able to draw the oval image, but I want to make the bounding box of the image invisible or the same as the canvas' colour?
Any Ideas???
您可以使用createRGBImage(...)创建椭圆形透明像素之外的像素的椭圆形图像,在其中为图像中的每个像素提供ARGB值数组。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.