@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 954 B
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../../core/JSONSupport.js";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import{screenSizeProperty as n}from"./materialUtils.js";var s;let i=s=class extends t{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new s({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};e([r({...n,json:{write:{isRequired:!0}}})],i.prototype,"screenLength",null),e([r({type:Number,nonNullable:!0,json:{write:!0,default:0}})],i.prototype,"minWorldLength",void 0),e([r({type:Number,json:{write:!0}})],i.prototype,"maxWorldLength",void 0),i=s=e([o("esri.symbols.support.Symbol3DVerticalOffset")],i);export{i as default};