fill Image Shadow micro edition - Java javax.microedition.lcdui

Java examples for javax.microedition.lcdui:Graphics

Description

fill Image Shadow micro edition

Demo Code


import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public class Main{
    public static Image fillShadow(int i, int j, int k) {
        int ai[] = new int[j * k];
        for (int k1 = 0; k1 < ai.length; k1++) {
            ai[k1] = i;//w ww  .  ja v a2  s.  com
        }
        return Image.createRGBImage(ai, j, k, true);
    }
}

Related Tutorials