Set foreground colors. Final color will be chosen at random in the given list.
()
| 103 | * Final color will be chosen at random in the given list. |
| 104 | */ |
| 105 | public static void multiColorConfigExample2() { |
| 106 | AvatarConfig config = new AvatarConfig(); |
| 107 | List<Color> colors = new ArrayList<>(); |
| 108 | colors.add(Color.YELLOW); |
| 109 | colors.add(Color.ORANGE); |
| 110 | colors.add(Color.CYAN); |
| 111 | config.setForeColors(colors); |
| 112 | Avatar avatar = new Avatar(config); |
| 113 | multiImageExhibitor(avatar, config.getCellSize(), config.getCellSize(), 6); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Tool for showing multi images together. |
nothing calls this directly
no test coverage detected