UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) 1.51 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ import{__decorate as o}from"tslib";import{strict as t}from"../core/jsonMap.js";import{JSONSupport as e}from"../core/JSONSupport.js";import{clone as r}from"../core/lang.js";import{property as i,subclass as n}from"../core/accessorSupport/decorators.js";import l from"./support/pointCloud/ColorModulation.js";import{pointSizeAlgorithmTypes as p}from"./support/pointCloud/pointSizeAlgorithmTypeUtils.js";const s=t()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let u=class extends e{constructor(o){super(o),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:r(this.pointSizeAlgorithm),colorModulation:r(this.colorModulation),pointsPerInch:r(this.pointsPerInch)}}};o([i({type:s.apiValues,readOnly:!0,nonNullable:!0,json:{type:s.jsonValues,read:!1,write:{writer:s.write,isRequired:!0}}})],u.prototype,"type",void 0),o([i({types:p,json:{write:!0}})],u.prototype,"pointSizeAlgorithm",void 0),o([i({type:l,json:{write:!0}})],u.prototype,"colorModulation",void 0),o([i({json:{write:!0},nonNullable:!0,type:Number})],u.prototype,"pointsPerInch",void 0),u=o([n("esri.renderers.PointCloudRenderer")],u);export{u as default};