/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import r from"../../../Color.js";import{JSONSupport as o}from"../../../core/JSONSupport.js";import{toPt as t}from"../../../core/screenUtils.js";import{property as s,subclass as l}from"../../../core/accessorSupport/decorators.js";import{Integer as i}from"../../../core/accessorSupport/ensureType.js";import{writer as p}from"../../../core/accessorSupport/decorators/writer.js";var u;let a=u=class extends o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}get size(){return this._get("size")}set size(e){this._set("size",e)}writeValue(e,r,o){r[o]=e??0}clone(){return new u({color:this.color,label:this.label,size:this.size,value:this.value})}};e([s({type:r,json:{type:[i],write:!0}})],a.prototype,"color",void 0),e([s({type:String,json:{write:!0}})],a.prototype,"label",void 0),e([s({type:Number,cast:t,json:{write:!0}})],a.prototype,"size",null),e([s({type:Number,json:{write:{allowNull:!0}}})],a.prototype,"value",void 0),e([p("value")],a.prototype,"writeValue",null),a=u=e([l("esri.renderers.visualVariables.support.ColorSizeStop")],a);const c=a;export{c as default};
