Home
last modified time | relevance | path

Searched refs:darkColor (Results 1 - 2 of 2) sorted by relevance

/third_party/qrcodegen/java/
H A DQrCodeGeneratorDemo.java186 * @param darkColor the color to use for dark modules, in 0xRRGGBB format
192 private static BufferedImage toImage(QrCode qr, int scale, int border, int lightColor, int darkColor) { in toImage() argument
203 result.setRGB(x, y, color ? darkColor : lightColor); in toImage()
222 * @param darkColor the color to use for dark modules, in any format supported by CSS, not {@code null}
227 private static String toSvgString(QrCode qr, int border, String lightColor, String darkColor) { in toSvgString() argument
230 Objects.requireNonNull(darkColor); in toSvgString()
251 .append("\" fill=\"" + darkColor + "\"/>\n") in toSvgString()
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCodeGeneratorDemo.java185 * @param darkColor the color to use for dark modules, in 0xRRGGBB format
191 private static BufferedImage toImage(QrCode qr, int scale, int border, int lightColor, int darkColor) { in toImage() argument
202 result.setRGB(x, y, color ? darkColor : lightColor); in toImage()
221 * @param darkColor the color to use for dark modules, in any format supported by CSS, not {@code null}
226 private static String toSvgString(QrCode qr, int border, String lightColor, String darkColor) { in toSvgString() argument
229 Objects.requireNonNull(darkColor); in toSvgString()
250 .append("\" fill=\"" + darkColor + "\"/>\n") in toSvgString()

Completed in 2 milliseconds