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.

13 lines (12 loc) 460 B
/** * IRenderer interface */ /** @private */ export interface IBarcodeRenderer { // eslint-disable-next-line renderRootElement(attribute: Object, backGroundColor: string, width: number, height: number): HTMLElement; // eslint-disable-next-line renderRect(canvas: HTMLCanvasElement, attribute: Object, isText?: boolean): HTMLElement; // eslint-disable-next-line renderText(canvas: HTMLCanvasElement, attribute: Object): HTMLElement; }