scandit-web-datacapture-core
Version:
Scandit Data Capture SDK for the Web
6 lines (3 loc) • 594 B
JavaScript
import { d } from './chunk-5Y4OYXNX.js';
var r=class{constructor(l){this.type="laserline";let i=l!=null?l:d.LaserlineViewfinder.defaultStyle;this._style=d.LaserlineViewfinder.styles[i].style,this.width=d.LaserlineViewfinder.styles[i].width,this.enabledColor=d.LaserlineViewfinder.styles[i].enabledColor,this.disabledColor=d.LaserlineViewfinder.styles[i].disabledColor;}get style(){return this._style}toJSONObject(){return {type:this.type,style:this.style,width:this.width.toJSONObject(),disabledColor:this.disabledColor.toJSON(),enabledColor:this.enabledColor.toJSON()}}};
export { r as a };