JvmQRCodeGraphicsFactory

class JvmQRCodeGraphicsFactory(var bufferedImage: BufferedImage, val offsetX: Int = 0, val offsetY: Int = 0) : QRCodeGraphicsFactory(source)

A platform-specific implementation of QRCodeGraphicsFactory. It makes it so that all QRCodeGraphics instances created by the factory use the specified bufferedImage and start drawing at the (offsetX, offsetY) point.

See also

Constructors

Link copied to clipboard
constructor(bufferedImage: BufferedImage, offsetX: Int = 0, offsetY: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
val offsetX: Int = 0
Link copied to clipboard
val offsetY: Int = 0

Functions

Link copied to clipboard
open override fun newGraphics(width: Int, height: Int): QRCodeGraphics

Creates a new QRCodeGraphics instance.

Link copied to clipboard

Creates a size by size square QRCodeGraphics instance.