12345 |
- /*
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
- See https://js.arcgis.com/4.25/esri/copyright.txt for details.
- */
- import{_ as e}from"../chunks/tslib.es6.js";import o from"../Color.js";import{Clonable as r}from"../core/Clonable.js";import{JSONSupportMixin as t}from"../core/JSONSupport.js";import{toPt as s,px2pt as i}from"../core/screenUtils.js";import{property as p}from"../core/accessorSupport/decorators/property.js";import"../core/arrayUtils.js";import{Integer as l}from"../core/accessorSupport/ensureType.js";import{subclass as n}from"../core/accessorSupport/decorators/subclass.js";let c=class extends(t(r)){constructor(e){super(e),this.type="simple",this.color=new o("black"),this.lineSize=2,this.fontSize=10,this.textColor=new o("black"),this.textBackgroundColor=new o([255,255,255,.6])}};e([p({type:["simple"],readOnly:!0,json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),e([p({type:o,nonNullable:!0,json:{type:[l],write:{isRequired:!0}}})],c.prototype,"color",void 0),e([p({type:Number,cast:s,nonNullable:!0,range:{min:i(1)},json:{write:{isRequired:!0}}})],c.prototype,"lineSize",void 0),e([p({type:Number,cast:s,nonNullable:!0,json:{write:{isRequired:!0}}})],c.prototype,"fontSize",void 0),e([p({type:o,nonNullable:!0,json:{type:[l],write:{isRequired:!0}}})],c.prototype,"textColor",void 0),e([p({type:o,nonNullable:!0,json:{type:[l],write:{isRequired:!0}}})],c.prototype,"textBackgroundColor",void 0),c=e([n("esri.analysis.DimensionSimpleStyle")],c);const a=c;export{a as default};
|