javafx.scene.paint.Color.brighter()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(209)

本文整理了Java中javafx.scene.paint.Color.brighter()方法的一些代码示例,展示了Color.brighter()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Color.brighter()方法的具体详情如下:
包路径:javafx.scene.paint.Color
类名称:Color
方法名:brighter

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);

相关文章