UNPKG

red-agate-barcode

Version:

red-agate barcode tag library.

29 lines (28 loc) 990 B
import { BarcodeBaseProps, BarcodeBasePropsNoUndefined, BarcodeBase } from './BarcodeBase'; export interface ItfProps extends BarcodeBaseProps { addCheckDigit?: boolean; narrowWidth?: number; wideWidth?: number; } export interface ItfPropsNoUndefined extends BarcodeBasePropsNoUndefined { addCheckDigit: boolean; narrowWidth: number; wideWidth: number; } export declare const itfPropsDefault: ItfPropsNoUndefined; export declare class Itf extends BarcodeBase<ItfProps> { constructor(props: ItfProps); protected calcSymbolSize(data: string, startChar: string, stopChar: string, cdChar: string): { tw: number; th: number; }; protected calcItfMod10W3Checksum(data: string): string; protected encodeData(data: string): { data: string; heightData?: string; labelText?: string; startChar: string; stopChar: string; }; protected getBarSpaceWidth(): number[]; }