UNPKG

@syncfusion/ej2-barcode-generator

Version:

Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.

10 lines (9 loc) 364 B
/** * IRenderer interface */ /** @private */ export interface IBarcodeRenderer { renderRootElement(attribute: Object, backGroundColor: string, width: number, height: number): HTMLElement; renderRect(canvas: HTMLCanvasElement, attribute: Object, isText?: boolean): HTMLElement; renderText(canvas: HTMLCanvasElement, attribute: Object): HTMLElement; }