(https://jitpack.io/#WycliffeAssociates/jdenticon-kotlin)
Kotlin library for generating highly recognizable identicons.
This is based on the JavaScript Jdenticon library.
<dependency>
<groupId>org.wycliffeassociates</groupId>
<artifactId>jdenticon-kotlin</artifactId>
<version>1.x</version>
<type>pom</type>
</dependency>
repositories {
jcenter()
}
implementation 'org.wycliffeassociates:jdenticon-kotlin:1.x'
(Please replace x
with the latest version numbers) y
-
Jdenticon.toSvg(hash: String, size: Int, padding: Float?)
Generates an SVG string containing an icon. Padding is optional (default is null).
Jdenticon Kotlin is available under the MIT License. See the LICENSE file for more info.