Package java.awt

Examples of java.awt.Graphics2D.fill3DRect()


        grp.setColor(new Color(c.getRed(), c.getGreen(), c.getBlue(), alphaValue));
      }

      if(mProgram.getMarkPriority() > Program.NO_MARK_PRIORITY) {
        if(Settings.propProgramPanelWithMarkingsShowingBoder.getBoolean()) {
          grp.fill3DRect(0, 0, width, height, true);
        }
        else {
          grp.fillRect(0, 0, width, height);
        }
      }
View Full Code Here


    private static ImageIcon createMonoColoredImageIcon(final Paint paint, final int width, final int height) {
        final BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR_PRE);
        final Graphics2D g = image.createGraphics();
        g.setPaint(paint);
        final int lineHeight = 4;
        g.fill3DRect(0, height / 2 - lineHeight / 2, width, lineHeight, false);
        g.dispose();
        return new ImageIcon(image);
    }

    /**
 
View Full Code Here

         
          if(c != null && mProgram.getMarkPriority() > Program.NO_MARK_PRIORITY) {
            grp.setColor(c);
           
            if(Plugin.getPluginManager().getTvBrowserSettings().isMarkingBorderPainted()) {
              grp.fill3DRect(0, 0, width, height+2, true);
            }
            else {
              grp.fillRect(0,0,width,height+2);
            }
          }
View Full Code Here

                    posY2 = margenY;

                    for(k=0; k < coly.length; k++, posY2 += 16)
                    {
                        g2.setColor(colores[k]);
                        g2.fill3DRect(posIni, posY2, 12, 12, true);
                        g2.setColor(Color.BLACK);
                        g2.drawString(tmodel.columnNames[coly[k]], posIni + 17, posY2 + 10);
                    }

                    g2.setColor(Color.BLACK);
View Full Code Here

            g2.fillPolygon(xpts, ypts, 3);
        }
        if (lSlideMoved || rSlideMoved) {
            g2.setColor(Color.gray);
            g2.draw3DRect(minGrip + 1, GRIP_MIDDLE_Y - 7, maxGrip - minGrip - 1, 15, true);
            g2.fill3DRect(minGrip + 1, GRIP_MIDDLE_Y - 7, maxGrip - minGrip - 1, 15, true);
        }
        if (textChanged) drawLabels(g2, w);
        lSlideMoved = false;
        rSlideMoved = false;
        textChanged = false;
View Full Code Here

        Graphics2D g = (Graphics2D) bs.getDrawGraphics();
        g.clearRect(0, 0, getWidth(), getHeight());
       
        g.setColor(Color.lightGray);
        g.fill3DRect(366, 502, 152, 182, false);          // Fundo Legenda
       
        g.setColor(Color.black);
        g.fill3DRect(366, 38+a, 152, 292, false);         // Fundo Peças
        g.fill3DRect(366, 37, 152, 48, false);            // Fundo Pontos
        g.fill3DRect(366, 392, 152, 47, false);           // Fundo Trunfos
View Full Code Here

       
        g.setColor(Color.lightGray);
        g.fill3DRect(366, 502, 152, 182, false);          // Fundo Legenda
       
        g.setColor(Color.black);
        g.fill3DRect(366, 38+a, 152, 292, false);         // Fundo Peças
        g.fill3DRect(366, 37, 152, 48, false);            // Fundo Pontos
        g.fill3DRect(366, 392, 152, 47, false);           // Fundo Trunfos
        g.fill3DRect(366, 447, 152, 47, false);           // Fundo High Score
        g.fill3DRect(366, 688, 152, 31, false);           // Fundo Timer
View Full Code Here

        g.setColor(Color.lightGray);
        g.fill3DRect(366, 502, 152, 182, false);          // Fundo Legenda
       
        g.setColor(Color.black);
        g.fill3DRect(366, 38+a, 152, 292, false);         // Fundo Peças
        g.fill3DRect(366, 37, 152, 48, false);            // Fundo Pontos
        g.fill3DRect(366, 392, 152, 47, false);           // Fundo Trunfos
        g.fill3DRect(366, 447, 152, 47, false);           // Fundo High Score
        g.fill3DRect(366, 688, 152, 31, false);           // Fundo Timer

                                                          /* Texto Legenda */
 
View Full Code Here

        g.fill3DRect(366, 502, 152, 182, false);          // Fundo Legenda
       
        g.setColor(Color.black);
        g.fill3DRect(366, 38+a, 152, 292, false);         // Fundo Peças
        g.fill3DRect(366, 37, 152, 48, false);            // Fundo Pontos
        g.fill3DRect(366, 392, 152, 47, false);           // Fundo Trunfos
        g.fill3DRect(366, 447, 152, 47, false);           // Fundo High Score
        g.fill3DRect(366, 688, 152, 31, false);           // Fundo Timer

                                                          /* Texto Legenda */
        g.drawString("Ctrl", 378, 527);
View Full Code Here

       
        g.setColor(Color.black);
        g.fill3DRect(366, 38+a, 152, 292, false);         // Fundo Peças
        g.fill3DRect(366, 37, 152, 48, false);            // Fundo Pontos
        g.fill3DRect(366, 392, 152, 47, false);           // Fundo Trunfos
        g.fill3DRect(366, 447, 152, 47, false);           // Fundo High Score
        g.fill3DRect(366, 688, 152, 31, false);           // Fundo Timer

                                                          /* Texto Legenda */
        g.drawString("Ctrl", 378, 527);
        g.drawString("Pausa", 453, 527);
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.