public interface QreyesRenderer
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
checkFormat(QreyesFormat format)
Check the format match target renderer.
|
default Shape |
getPointShape(double x,
double y,
double w,
double h,
double arcw,
double arch)
Set code-eyes render shape.
|
void |
render(BufferedImage image,
QreyesFormat format,
QreyesPosition position,
Color slave,
Color border,
Color point)
Render code-eyes by format.
|
void render(BufferedImage image, QreyesFormat format, QreyesPosition position, Color slave, Color border, Color point)
image - BufferedImage source.format - QreyesFormat instance.position - QRCode eyes positon.slave - QRCode slave color.border - QRCode eyes border color.point - QRCode eyes point color.default Shape getPointShape(double x, double y, double w, double h, double arcw, double arch)
x - positionXy - positionYw - widthh - heightarcw - arc-widtharch - arc-heightdefault void checkFormat(QreyesFormat format)
format - QreyesFormat instance.Copyright © 2017. All rights reserved.