@scandit/web-datacapture-core
Version:
Scandit Data Capture SDK for the Web
1 lines • 432 B
JavaScript
import {a}from'./chunk-ENYHCJGH.js';var e=class r{constructor(t,h){this._width=t,this._height=h;}get width(){return this._width}get height(){return this._height}static fromJSON(t){return new r(a.fromJSON(t.width),a.fromJSON(t.height))}isSameAs(t){return JSON.stringify(this.toJSONObject())===JSON.stringify(t.toJSONObject())}toJSONObject(){return {width:this.width.toJSONObject(),height:this.height.toJSONObject()}}};export{e as a};