C# Класс zxingwp7.oned.UPCEANWriter

Encapsulates functionality and implementation that is common to UPC and EAN families of one-dimensional barcodes.

Наследование: Writer
Показать файл Открыть проект

Открытые методы

Метод Описание
encode ( String contents, BarcodeFormat format, int width, int height ) : ByteMatrix
encode ( String contents, BarcodeFormat format, int width, int height, Object>.Dictionary hints ) : ByteMatrix
encode ( String contents ) : sbyte[]

Защищенные методы

Метод Описание
appendPattern ( sbyte target, int pos, int pattern, int startColor ) : int

Appends the given pattern to the target array starting at pos.

Приватные методы

Метод Описание
renderResult ( sbyte code, int width, int height ) : ByteMatrix

Описание методов

appendPattern() защищенный статический Метод

Appends the given pattern to the target array starting at pos.
protected static appendPattern ( sbyte target, int pos, int pattern, int startColor ) : int
target sbyte
pos int
pattern int
startColor int starting color - 0 for white, 1 for black ///
Результат int

encode() публичный Метод

public encode ( String contents, BarcodeFormat format, int width, int height ) : ByteMatrix
contents String
format BarcodeFormat
width int
height int
Результат zxingwp7.common.ByteMatrix

encode() публичный Метод

public encode ( String contents, BarcodeFormat format, int width, int height, Object>.Dictionary hints ) : ByteMatrix
contents String
format BarcodeFormat
width int
height int
hints Object>.Dictionary
Результат zxingwp7.common.ByteMatrix

encode() публичный абстрактный Метод

public abstract encode ( String contents ) : sbyte[]
contents String
Результат sbyte[]