@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.56 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as e}from"../../../chunks/tslib.es6.js";import{JSONMap as o}from"../../../core/jsonMap.js";import{property as r}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{enumeration as t}from"../../../core/accessorSupport/decorators/enumeration.js";import{subclass as s}from"../../../core/accessorSupport/decorators/subclass.js";import p from"./BaseFunctionArguments.js";var i;const c=new o({1:"degree",2:"percent-rise",3:"adjusted"},{useNumericKeys:!0});let a=i=class extends p{constructor(){super(...arguments),this.slopeType="degree",this.zFactor=1,this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.removeEdgeEffect=!1}clone(){return new i({slopeType:this.slopeType,zFactor:this.zFactor,pixelSizePower:this.pixelSizePower,pixelSizeFactor:this.pixelSizeFactor,removeEdgeEffect:this.removeEdgeEffect,raster:this.raster})}};e([t(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=i=e([s("esri.layers.support.rasterFunctions.SlopeFunctionArguments")],a);const m=a;export{m as default};