UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.69 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 e}from"../chunks/tslib.es6.js";import{clone as r}from"../core/lang.js";import{property as o}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/Logger.js";import{enumeration as s}from"../core/accessorSupport/decorators/enumeration.js";import{subclass as t}from"../core/accessorSupport/decorators/subclass.js";import i from"./PointCloudRenderer.js";import p from"./support/RendererLegendOptions.js";import l from"./support/pointCloud/ColorClassBreakInfo.js";var n;let a=n=class extends i{constructor(e){super(e),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new n({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:r(this.colorClassBreakInfos),legendOptions:r(this.legendOptions)})}};e([s({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],a.prototype,"type",void 0),e([o({json:{write:{isRequired:!0}},type:String})],a.prototype,"field",void 0),e([o({type:p,json:{write:!0}})],a.prototype,"legendOptions",void 0),e([o({type:i.fieldTransformTypeKebabDict.apiValues,json:{type:i.fieldTransformTypeKebabDict.jsonValues,read:i.fieldTransformTypeKebabDict.read,write:i.fieldTransformTypeKebabDict.write}})],a.prototype,"fieldTransformType",void 0),e([o({type:[l],json:{write:{isRequired:!0}}})],a.prototype,"colorClassBreakInfos",void 0),a=n=e([t("esri.renderers.PointCloudClassBreaksRenderer")],a);export{a as default};