Package net.rim.device.api.ui

Examples of net.rim.device.api.ui.Graphics.drawLine()


        int x1 = width / 3;
        int x2 = x1 * 2;
        int y1 = height / 3;
        int y2 = y1 * 2;
        pen.setColor(Color.BLACK);
        pen.drawLine(x1, 0, x1, height);
        pen.drawLine(x2, 0, x2, height);
        pen.drawLine(0, y1, width, y1);
        pen.drawLine(0, y2, width, y2);
        return bg;
    }
View Full Code Here


        int x2 = x1 * 2;
        int y1 = height / 3;
        int y2 = y1 * 2;
        pen.setColor(Color.BLACK);
        pen.drawLine(x1, 0, x1, height);
        pen.drawLine(x2, 0, x2, height);
        pen.drawLine(0, y1, width, y1);
        pen.drawLine(0, y2, width, y2);
        return bg;
    }
   
View Full Code Here

        int y1 = height / 3;
        int y2 = y1 * 2;
        pen.setColor(Color.BLACK);
        pen.drawLine(x1, 0, x1, height);
        pen.drawLine(x2, 0, x2, height);
        pen.drawLine(0, y1, width, y1);
        pen.drawLine(0, y2, width, y2);
        return bg;
    }
   
    public static Bitmap getBlankUnfocused() {
View Full Code Here

        int y2 = y1 * 2;
        pen.setColor(Color.BLACK);
        pen.drawLine(x1, 0, x1, height);
        pen.drawLine(x2, 0, x2, height);
        pen.drawLine(0, y1, width, y1);
        pen.drawLine(0, y2, width, y2);
        return bg;
    }
   
    public static Bitmap getBlankUnfocused() {
        int width  = Display.getWidth();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.