Package java.awt

Examples of java.awt.Graphics2D.fill3DRect()


        g.fill3DRect(400, 225+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.S), 475, 230+a);
       
        g.setColor(Color.magenta);
        g.fill3DRect(395, 251+a, 10, 10, visual);
        g.fill3DRect(395, 261+a, 10, 10, visual);
        g.fill3DRect(395, 271+a, 10, 10, visual);
        g.fill3DRect(405, 261+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
View Full Code Here


        g.drawString(Integer.toString(pontuacao.S), 475, 230+a);
       
        g.setColor(Color.magenta);
        g.fill3DRect(395, 251+a, 10, 10, visual);
        g.fill3DRect(395, 261+a, 10, 10, visual);
        g.fill3DRect(395, 271+a, 10, 10, visual);
        g.fill3DRect(405, 261+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
View Full Code Here

       
        g.setColor(Color.magenta);
        g.fill3DRect(395, 251+a, 10, 10, visual);
        g.fill3DRect(395, 261+a, 10, 10, visual);
        g.fill3DRect(395, 271+a, 10, 10, visual);
        g.fill3DRect(405, 261+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
        g.fill3DRect(400, 297+a, 10, 10, visual);
View Full Code Here

        g.fill3DRect(395, 271+a, 10, 10, visual);
        g.fill3DRect(405, 261+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
        g.fill3DRect(400, 297+a, 10, 10, visual);
        g.fill3DRect(400, 307+a, 10, 10, visual);
        g.fill3DRect(410, 307+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.Z), 475, 312+a);
                                                              /*********/
 
View Full Code Here

        g.fill3DRect(405, 261+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
        g.fill3DRect(400, 297+a, 10, 10, visual);
        g.fill3DRect(400, 307+a, 10, 10, visual);
        g.fill3DRect(410, 307+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.Z), 475, 312+a);
                                                              /*********/
        /** Grade do jogo */
 
View Full Code Here

        g.drawString(Integer.toString(pontuacao.T), 475, 271+a);
       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
        g.fill3DRect(400, 297+a, 10, 10, visual);
        g.fill3DRect(400, 307+a, 10, 10, visual);
        g.fill3DRect(410, 307+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.Z), 475, 312+a);
                                                              /*********/
        /** Grade do jogo */
        for(int i=0; i<20; i++) {
View Full Code Here

       
        g.setColor(Color.green);
        g.fill3DRect(390, 297+a, 10, 10, visual);
        g.fill3DRect(400, 297+a, 10, 10, visual);
        g.fill3DRect(400, 307+a, 10, 10, visual);
        g.fill3DRect(410, 307+a, 10, 10, visual);
        g.drawString(Integer.toString(pontuacao.Z), 475, 312+a);
                                                              /*********/
        /** Grade do jogo */
        for(int i=0; i<20; i++) {
            for(int j=0; j<10; j++) {
View Full Code Here

        /** Grade do jogo */
        for(int i=0; i<20; i++) {
            for(int j=0; j<10; j++) {

                g.setColor(jogo1.fundo.matrix[i][j]);
                g.fill3DRect((j*34)+15,(i*34)+38, 34, 34, visual);
                if(desenhaGrade) {
                    g.setColor(Color.darkGray);
                    g.draw3DRect((j*34)+15,(i*34)+38, 34, 34, false);
                }
                /*
 
View Full Code Here

            Transparency.OPAQUE);
   
    Graphics2D g = ui[0].createGraphics();
   
    g.setColor(Color.GRAY);
    g.fill3DRect(0, 0, w - 1, h - 1, true);
    g.setColor(Color.BLACK);
    g.drawRect(0, 0, w - 1, h - 1);
   
    g.dispose();
   
View Full Code Here

    for (int i = 0; i < 4; i++) {
      Graphics2D g = ui[i].createGraphics();
      g.setColor((Color) this.get(color[i], component));
      switch (i) {
        case 0:
          g.fill3DRect(0, 0, w - 1, h - 1, true);
          break;
        case 1:
          g.fillRect(0, 0, w - 1, h - 1);
          break;
        case 2:
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.