本文整理了Java中javafx.scene.paint.Color.brighter()
方法的一些代码示例,展示了Color.brighter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Color.brighter()
方法的具体详情如下:
包路径:javafx.scene.paint.Color
类名称:Color
方法名:brighter
暂无
代码示例来源:origin: us.ihmc/ihmc-path-planning-visualizers
private Color getLineColor(int regionId)
{
return PlanarRegionViewer.getRegionColor(regionId).brighter();
}
代码示例来源:origin: us.ihmc/ihmc-path-planning-visualizers
private Color getNavigableLineColor(int regionId)
{
return PlanarRegionViewer.getRegionColor(regionId).brighter();
}
代码示例来源:origin: com.github.almasb/fxgl-ui
public static ProgressBar makeHPBar() {
ProgressBar bar = new ProgressBar();
bar.setHeight(25);
bar.setFill(Color.GREEN.brighter());
bar.setTraceFill(Color.GREEN.brighter());
bar.setLabelVisible(true);
return bar;
}
代码示例来源:origin: com.github.almasb/fxgl-base
public static ProgressBar makeHPBar() {
ProgressBar bar = new ProgressBar();
bar.setHeight(25);
bar.setFill(Color.GREEN.brighter());
bar.setTraceFill(Color.GREEN.brighter());
bar.setLabelVisible(true);
return bar;
}
代码示例来源:origin: com.github.almasb/fxgl-base
public static ProgressBar makeSkillBar() {
ProgressBar bar = new ProgressBar();
bar.setHeight(25);
bar.setFill(Color.BLUE.brighter().brighter());
bar.setTraceFill(Color.BLUE);
bar.setLabelVisible(true);
return bar;
}
}
代码示例来源:origin: com.github.almasb/fxgl-ui
public static ProgressBar makeSkillBar() {
ProgressBar bar = new ProgressBar();
bar.setHeight(25);
bar.setFill(Color.BLUE.brighter().brighter());
bar.setTraceFill(Color.BLUE);
bar.setLabelVisible(true);
return bar;
}
}
代码示例来源:origin: us.ihmc/IHMCJavaFXToolkit
PhongMaterial material = new PhongMaterial();
material.setDiffuseColor(Color.CYAN);
material.setSpecularColor(Color.CYAN.brighter());
meshView.setMaterial(material);
view3dFactory.addNodeToView(meshView);
内容来源于网络,如有侵权,请联系作者删除!