@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 1.81 kB
JavaScript
import{_ as e}from"../../chunks/tslib.es6.js";import"../../geometry.js";import{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as t}from"../../core/accessorSupport/decorators/property.js";import"../../core/accessorSupport/ensureType.js";import"../../core/arrayUtils.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";import i from"../../layers/support/MosaicRule.js";import n from"../../layers/support/RasterFunction.js";import a from"../../geometry/Point.js";const p=new r({esriMensurationPoint:"point",esriMensurationCentroid:"centroid",esriMensurationDistanceAndAngle:"distance-and-angle",esriMensurationAreaAndPerimeter:"area-and-perimeter",esriMensurationHeightFromBaseAndTop:"base-and-top",esriMensurationHeightFromBaseAndTopShadow:"base-and-top-shadow",esriMensurationHeightFromTopAndTopShadow:"top-and-top-shadow",esriMensurationPoint3D:"point-3D",esriMensurationCentroid3D:"centroid-3D",esriMensurationDistanceAndAngle3D:"distance-and-angle-3D",esriMensurationAreaAndPerimeter3D:"area-and-perimeter-3D"});let d=class extends o{constructor(){super(...arguments),this.type=null,this.measureOperation=null,this.mosaicRule=null,this.renderingRule=null,this.pixelSize=null,this.raster=void 0}};e([t()],d.prototype,"type",void 0),e([t({type:p.apiValues,json:{read:p.read,write:p.write}})],d.prototype,"measureOperation",void 0),e([t({type:i,json:{write:!0}})],d.prototype,"mosaicRule",void 0),e([t({type:n,json:{write:!0}})],d.prototype,"renderingRule",void 0),e([t({type:a,json:{write:!0}})],d.prototype,"pixelSize",void 0),e([t({json:{write:!0}})],d.prototype,"raster",void 0),d=e([s("esri.rest.support.BaseImageMeasureParameters")],d);export{d as BaseImageMeasureParameters,p as measureOperationJSONMap};