Releases: silentsoft/badge4j
Releases · silentsoft/badge4j
v1.3.0
Dependency Updates
v1.2.0
New Features
- Supports simple-icons.
v1.1.0
Enhancements
- Supports Java 9 and above.
v1.0.0
Usage
String svg = Badge.builder().label("hello").message("world").build();
Available builder options
Badge.builder()
.style(Style) /* Flat(default), FlatSquare, ForTheBadge, Plastic, Social */
.label(String)
.message(String)
.color(String)
.labelColor(String)
.logo(String) /* data:image/svg+xml;base64,.. */
.logoWidth(int)
.links(String[])
.build();
Styles
Colors
-
Named color by shields.io
-
Any valid CSS color