@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.29 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONMap as o}from"../../../core/jsonMap.js";import{property as r,subclass as t}from"../../../core/accessorSupport/decorators.js";import s from"./BaseFunctionArguments.js";import{enumeration as i}from"../../../core/accessorSupport/decorators/enumeration.js";var p;const c=new o({1:"degree",2:"percent-rise",3:"adjusted"},{useNumericKeys:!0});let a=p=class extends s{constructor(){super(...arguments),this.slopeType="degree",this.zFactor=1,this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.removeEdgeEffect=!1}clone(){return new p({slopeType:this.slopeType,zFactor:this.zFactor,pixelSizePower:this.pixelSizePower,pixelSizeFactor:this.pixelSizeFactor,removeEdgeEffect:this.removeEdgeEffect,raster:this.raster})}};e([i(c)],a.prototype,"slopeType",void 0),e([r({type:Number,json:{write:!0}})],a.prototype,"zFactor",void 0),e([r({type:Number,json:{name:"psPower",write:!0}})],a.prototype,"pixelSizePower",void 0),e([r({type:Number,json:{name:"psZFactor",write:!0}})],a.prototype,"pixelSizeFactor",void 0),e([r({type:Boolean,json:{write:!0}})],a.prototype,"removeEdgeEffect",void 0),a=p=e([t("esri.layers.raster.functions.SlopeFunctionArguments")],a);const n=a;export{n as default};