UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.91 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as t}from"../../chunks/tslib.es6.js";import e from"../../core/JSONSupport.js";import{clone as r}from"../../core/lang.js";import{property as o}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import p from"../../geometry/Point.js";import{getJsonType as m,fromJSON as n}from"../../geometry/support/jsonUtils.js";import{geometryTypes as a}from"../../geometry/support/typeUtils.js";import l from"../../layers/support/MosaicRule.js";import u from"../../layers/support/RasterFunction.js";import{T as c}from"../../chunks/TimeExtent.js";var y;let j=y=class extends e{constructor(){super(...arguments),this.geometry=null,this.mosaicRule=null,this.rasterFunction=null,this.pixelSize=null,this.raster=void 0,this.timeExtent=null}writeGeometry(t,e,r){null!=t&&(e.geometryType=m(t),e[r]=t.toJSON())}clone(){return new y(r({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,pixelSize:this.pixelSize,raster:this.raster,timeExtent:this.timeExtent}))}};t([o({types:a,json:{read:n}})],j.prototype,"geometry",void 0),t([i("geometry")],j.prototype,"writeGeometry",null),t([o({type:l,json:{write:!0}})],j.prototype,"mosaicRule",void 0),t([o({type:u,json:{write:!0,name:"renderingRule"}})],j.prototype,"rasterFunction",void 0),t([o({type:p,json:{write:!0}})],j.prototype,"pixelSize",void 0),t([o({json:{write:!0}})],j.prototype,"raster",void 0),t([o({type:c,json:{read:{source:"time"},write:{target:"time"}}})],j.prototype,"timeExtent",void 0),j=y=t([s("esri.rest.support.ImageHistogramParameters")],j);export{j as default};