UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 722 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as o}from"tslib";import r from"../../Color.js";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as s,subclass as p}from"../../core/accessorSupport/decorators.js";let i=class extends(t(e)){constructor(o){super(o),this.color=new r([0,0,0,0]),this.label=null,this.threshold=0}};o([s({type:r,json:{write:!0}})],i.prototype,"color",void 0),o([s({type:String,json:{write:!0}})],i.prototype,"label",void 0),o([s({type:Number,range:{min:0,max:1},json:{write:!0}})],i.prototype,"threshold",void 0),i=o([p("esri.renderers.support.OthersCategory")],i);export{i as default};