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.

25 lines (21 loc) 422 B
/** * Size defines and processes the size(width/height) of the objects */ export class Size { /** * Sets the height of an object * * @default 0 */ public height: number; /** * Sets the width of an object * * @default 0 */ public width: number; constructor(width?: number, height?: number) { this.width = width; this.height = height; } }