Package com.docuverse.identicon
Interface IdenticonRenderer
-
- All Known Implementing Classes:
NineBlockIdenticonRenderer2
public interface IdenticonRenderer
Identicon renderer interface.- Author:
- don
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferedImage
render(int code, int size)
Returns rendered identicon image for given identicon code encoded as a 32-bit signed integer.BufferedImage
render(BigInteger code, int size)
Returns rendered identicon image for given identicon code.
-
-
-
Method Detail
-
render
BufferedImage render(int code, int size)
Returns rendered identicon image for given identicon code encoded as a 32-bit signed integer.- Parameters:
code
- identicon codesize
- image size- Returns:
- identicon image
-
render
BufferedImage render(BigInteger code, int size)
Returns rendered identicon image for given identicon code.- Parameters:
code
- identicon codesize
- image size- Returns:
- identicon image
-
-