UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 942 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as t}from"tslib";import{property as o,subclass as r}from"../../../core/accessorSupport/decorators.js";import e from"./ClipArea.js";var i;let s=i=class extends e{constructor(t){super(t),this.type="rect",this.left=null,this.right=null,this.top=null,this.bottom=null}clone(){return new i({left:this.left,right:this.right,top:this.top,bottom:this.bottom})}commitVersionProperties(){this.commitProperty("left"),this.commitProperty("right"),this.commitProperty("top"),this.commitProperty("bottom")}};t([o({type:[Number,String],json:{write:!0}})],s.prototype,"left",void 0),t([o({type:[Number,String],json:{write:!0}})],s.prototype,"right",void 0),t([o({type:[Number,String],json:{write:!0}})],s.prototype,"top",void 0),t([o({type:[Number,String],json:{write:!0}})],s.prototype,"bottom",void 0),s=i=t([r("esri.views.layers.support.ClipRect")],s);export{s as default};