UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

1 lines 362 B
import{Quadrilateral as e}from"@scandit/web-datacapture-core";var t=class t{get frameID(){return this._frameID}get location(){return this._location}static fromJSON(n){let r=new t;return r._location=e.fromJSON(n.location),r._frameID=n.frameId,r}toJSONObject(){return{frameId:this.frameID,location:this.location.toJSONObject()}}};export{t as LocalizedOnlyBarcode};