/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../chunks/_rollupPluginBabelHelpers","../chunks/tslib.es6","../core/JSONSupport","../core/lang","../core/accessorSupport/decorators/property","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/enumeration","../core/accessorSupport/decorators/reader","../core/accessorSupport/decorators/subclass","../rest/support/colorRamps"],(function(e,r,o,t,p,i,a,s,c,l){"use strict";var d;let n=d=function(r){function o(e){var o;return(o=r.call(this,e)||this).altitude=45,o.azimuth=315,o.colorRamp=null,o.hillshadeType="multi-directional",o.pixelSizePower=.664,o.pixelSizeFactor=.024,o.scalingType="none",o.type="raster-shaded-relief",o.zFactor=1,o}e._inheritsLoose(o,r);var p=o.prototype;return p.readColorRamp=function(e){return l.fromJSON(e)},p.clone=function(){return new d({hillshadeType:this.hillshadeType,altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,scalingType:this.scalingType,pixelSizeFactor:this.pixelSizeFactor,pixelSizePower:this.pixelSizePower,colorRamp:t.clone(this.colorRamp)})},o}(o.JSONSupport);r.__decorate([p.property({type:Number,json:{write:!0}})],n.prototype,"altitude",void 0),r.__decorate([p.property({type:Number,json:{write:!0}})],n.prototype,"azimuth",void 0),r.__decorate([p.property({types:l.types,json:{write:!0}})],n.prototype,"colorRamp",void 0),r.__decorate([s.reader("colorRamp")],n.prototype,"readColorRamp",null),r.__decorate([p.property({type:["traditional","multi-directional"],json:{write:!0}})],n.prototype,"hillshadeType",void 0),r.__decorate([p.property({type:Number,json:{write:!0}})],n.prototype,"pixelSizePower",void 0),r.__decorate([p.property({type:Number,json:{write:!0}})],n.prototype,"pixelSizeFactor",void 0),r.__decorate([p.property({type:["none","adjusted"],json:{write:!0}})],n.prototype,"scalingType",void 0),r.__decorate([a.enumeration({rasterShadedRelief:"raster-shaded-relief"})],n.prototype,"type",void 0),r.__decorate([p.property({type:Number,json:{write:!0}})],n.prototype,"zFactor",void 0),n=d=r.__decorate([c.subclass("esri.renderers.RasterShadedReliefRenderer")],n);return n}));
