public class ColoredQRCode extends Object implements Decorator<BufferedImage>
| Modifier and Type | Method and Description |
|---|---|
static Decorator<BufferedImage> |
colorizeQRCode(Color color)
Colors the qrcode with the given color
|
BufferedImage |
decorate(BufferedImage qrcode)
Colors the given qrcode
|
public static Decorator<BufferedImage> colorizeQRCode(Color color)
color - the colorpublic BufferedImage decorate(BufferedImage qrcode)
decorate in interface Decorator<BufferedImage>qrcode - the qrcode to colorCopyright © 2020. All rights reserved.