randomColor static method

Color randomColor()

生成随机色

Implementation

static Color randomColor() {
  return Color.fromARGB(255, Random.secure().nextInt(255),
      Random.secure().nextInt(255), Random.secure().nextInt(255));
}