Examples of darker()


Examples of java.awt.Color.darker()

      double colorIndex = featureValue * colorMultipliers[featNum];

      Color c = colormap.table[(int) colorIndex];

      if (!cVI.selected)
        c = c.darker().darker().darker();

      graphics.setColor(c);

      // int n = numElements - i;

View Full Code Here

Examples of java.awt.Color.darker()

        int colorIndex = j * colorMulti;

        Color featureColor = colormap.table[(int) colorIndex];

        if (!cVI.selected)
          featureColor = featureColor.darker().darker().darker();

        graphics.setColor(featureColor);

        int blobSize = (int) Math.round(width / numChunks) - 2;
        if (blobSize <= 1)
View Full Code Here

Examples of java.awt.Color.darker()

      double colorIndex = featureValue * colorMultipliers[featNum];

      Color c = colormap.table[(int) colorIndex];

      if (!cVI.selected)
        c = c.darker().darker().darker();

      graphics.setColor(c);

      int yLocal = (int) (Math.round((y + h) - (i * yIncr)));

 
View Full Code Here

Examples of java.awt.Color.darker()

            Color actual = backgroundColor;
            if (actual == null)
                actual = Color.white;
            app.setGrayFill(1);
            drawTopFrame(app);
            app.setColorFill(actual.darker());
            drawBottomFrame(app);
        }
        else if (borderStyle == PdfBorderDictionary.STYLE_INSET) {
            if (borderWidth != 0 && borderColor != null) {
                app.setColorStroke(borderColor);
View Full Code Here

Examples of java.awt.Color.darker()

   
    defaults.add(JXTaskPane.uiClassID, "org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI");
    defaults.add("TaskPane.font", new FontUIResource(taskPaneFont));
    defaults.add("TaskPane.background", UIManagerExt.getSafeColor("List.background",
              new ColorUIResource(Color.decode("#005C5C"))));
    defaults.add("TaskPane.specialTitleBackground", new ColorUIResource(menuBackground.darker()));
    defaults.add("TaskPane.titleBackgroundGradientStart", menuBackground);
    defaults.add("TaskPane.titleBackgroundGradientEnd", menuBackground);
    defaults.add("TaskPane.titleForeground", new ColorUIResource(SystemColor.menuText));
    defaults.add("TaskPane.specialTitleForeground", new ColorUIResource(SystemColor.menuText.brighter()));
    defaults.add("TaskPane.animate", Boolean.TRUE);
View Full Code Here

Examples of java.awt.Color.darker()

                                   : -1;

            g.translate(x, y);

            // Right diagonal.
            g.setColor(color.darker());
            g.drawLine(dx / 2, dy, 0, 0);
            g.drawLine(dx / 2, dy + shift, 0, shift);

            // Left diagonal.
            g.setColor(color.brighter());
View Full Code Here

Examples of java.awt.Color.darker()

            g.drawLine(dx / 2, dy, dx, 0);
            g.drawLine(dx / 2, dy + shift, dx, shift);

            // Horizontal line.
            if (descending) {
                g.setColor(color.darker().darker());
            } else {
                g.setColor(color.brighter().brighter());
            }

            g.drawLine(dx, 0, 0, 0);
View Full Code Here

Examples of java.awt.Color.darker()

        xPoints[5] = xPoints[1];
        yPoints[5] = yPoints[4];
        g.fillPolygon(xPoints, yPoints, 6);
        if (border) {
            Color oldColor = g.getColor();
            g.setColor(oldColor.darker());
            g.drawPolygon(xPoints, yPoints, 6);
            g.setColor(oldColor);
        }
    }
View Full Code Here

Examples of java.awt.Color.darker()

        xPoints[5] = xPoints[1];
        yPoints[5] = yPoints[4];
        g.fillPolygon(xPoints, yPoints, 6);
        if (border) {
            Color oldColor = g.getColor();
            g.setColor(oldColor.darker());
            g.drawPolygon(xPoints, yPoints, 6);
            g.setColor(oldColor);
        }
    }
View Full Code Here

Examples of java.awt.Color.darker()

        xPoints[5] = xPoints[1];
        yPoints[5] = yPoints[4];
        g.fillPolygon(xPoints, yPoints, 6);
        if (border) {
            Color oldColor = g.getColor();
            g.setColor(oldColor.darker());
            g.drawPolygon(xPoints, yPoints, 6);
            g.setColor(oldColor);
        }
    }
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.