UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.53 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{property as s}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{enumeration as o}from"../../../core/accessorSupport/decorators/enumeration.js";import{subclass as e}from"../../../core/accessorSupport/decorators/subclass.js";import r from"./BaseFunctionArguments.js";import{MissingBandAction as n}from"./pixelUtils.js";var a;let i=a=class extends r{constructor(){super(...arguments),this.bandIds=[],this.bandNames=[],this.bandWavelengths=[],this.missingBandAction=n.bestMatch}clone(){return new a({bandIds:this.bandIds?.slice(),bandNames:this.bandNames?.slice(),bandWavelengths:this.bandWavelengths?.slice(),missingBandAction:this.missingBandAction,method:this.method,wavelengthMatchTolerance:this.wavelengthMatchTolerance})}};t([s({json:{write:!0}})],i.prototype,"bandIds",void 0),t([s({json:{write:!0}})],i.prototype,"bandNames",void 0),t([s({json:{write:!0}})],i.prototype,"bandWavelengths",void 0),t([o({0:"name",1:"wavelength",2:"id"})],i.prototype,"method",void 0),t([s({json:{write:!0}})],i.prototype,"missingBandAction",void 0),t([s({json:{write:!0}})],i.prototype,"wavelengthMatchTolerance",void 0),i=a=t([e("esri.layers.support.rasterFunctions.ExtractBandFunctionArguments")],i);const c=i;export{c as default};