qrcode

package
v0.0.0-...-6be69a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQRCodeReader

func NewQRCodeReader() gozxing.Reader

Types

type QRCodeReader

type QRCodeReader struct {
	// contains filtered or unexported fields
}

func NewQRCodeReader2

func NewQRCodeReader2() *QRCodeReader

func (*QRCodeReader) Decode

func (this *QRCodeReader) Decode(image *gozxing.BinaryBitmap, hints map[gozxing.DecodeHintType]interface{}) (*gozxing.Result, error)

func (*QRCodeReader) DecodeWithoutHints

func (this *QRCodeReader) DecodeWithoutHints(image *gozxing.BinaryBitmap) (*gozxing.Result, error)

func (*QRCodeReader) GetDecoder

func (this *QRCodeReader) GetDecoder() *decoder.Decoder

func (*QRCodeReader) Location

func (this *QRCodeReader) Location(image *gozxing.BinaryBitmap, hints map[gozxing.DecodeHintType]interface{}) []gozxing.ResultPoint

Location 新增 用于获取二维码三个定位点位置 location[0] 左下 [1]左上 [2]右上 [3]右下单独的小点

func (*QRCodeReader) Reset

func (this *QRCodeReader) Reset()

type QRCodeWriter

type QRCodeWriter struct{}

func NewQRCodeWriter

func NewQRCodeWriter() *QRCodeWriter

func (*QRCodeWriter) Encode

func (this *QRCodeWriter) Encode(
	contents string, format gozxing.BarcodeFormat, width, height int,
	hints map[gozxing.EncodeHintType]interface{}) (*gozxing.BitMatrix, error)

func (*QRCodeWriter) EncodeWithoutHint

func (this *QRCodeWriter) EncodeWithoutHint(
	contents string, format gozxing.BarcodeFormat, width, height int) (*gozxing.BitMatrix, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL