Examples of brighter()


Examples of javafx.scene.paint.Color.brighter()

                        Color c=getSkinnable().getFrameBaseColor();
                        ConicalGradient smGradient = new ConicalGradient(new Point2D(width/2d,height/2d),
                                                                 new Stop(0.0000, Color.rgb(254, 254, 254)),
                                                                 new Stop(0.1250, Util.darker(c, 0.15)),
                                                                 new Stop(0.2500, c.darker()),
                                                                 new Stop(0.3472, c.brighter()),
                                                                 new Stop(0.5000, c.darker().darker()),
                                                                 new Stop(0.6527, c.brighter()),
                                                                 new Stop(0.7500, c.darker()),
                                                                 new Stop(0.8750, Util.darker(c, 0.15)),
                                                                 new Stop(1.0000, Color.rgb(254, 254, 254)));
View Full Code Here

Examples of org.andrewberman.ui.Color.brighter()

     */
    menuBackground = new Color(245, 245, 255);
    stateColors = new Color[4];
    Color baseState = new Color(220, 230, 255);
    stateColors[MenuItem.UP] = baseState;
    stateColors[MenuItem.OVER] = baseState.brighter(20);
    stateColors[MenuItem.DOWN] = baseState.darker(20);
    stateColors[MenuItem.DISABLED] = baseState.darker(45);
    menuGradLo = new Color(245, 245, 255);
    menuGradHi = new Color(190, 210, 245);
    /*
 
View Full Code Here

Examples of org.osm2world.core.target.common.material.Material.brighter()

      vs.add(getBase().add(boardVector.mult(-width/2)).add(faceVector.mult(depth/2)).addY(height));
      vs.add(getBase().add(boardVector.mult(-width/2)).add(faceVector.mult(-depth/2)).addY(height));
      vs.add(getBase().add(boardVector.mult(width/2)).add(faceVector.mult(-depth/2)).addY(height));
      vs.add(getBase().add(boardVector.mult(width/2)).add(faceVector.mult(depth/2)).addY(height));
     
      target.drawTriangleFan(material.brighter(), vs, null);
     
    }
 
  }
 
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.