UNPKG

@arcgis/core

Version:

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

6 lines (5 loc) 1.4 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 o}from"../chunks/tslib.es6.js";import r from"../Color.js";import e from"../core/Clonable.js";import t from"../core/JSONSupport.js";import{property as s}from"../core/accessorSupport/decorators/property.js";import{Integer as l}from"../core/accessorSupport/ensureType.js";import"../core/has.js";import"../core/RandomLCG.js";import{subclass as p}from"../core/accessorSupport/decorators/subclass.js";import{lineMarkerPlacements as i,lineMarkerStyles as n}from"./support/lineMarkers.js";let c=class extends(e.ClonableMixin(t)){constructor(o){super(o),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(o){return null!=o&&o.placement===this.placement&&o.style===this.style&&(null==this.color&&null==o.color||null!=this.color&&null!=o.color&&this.color.toJSON()===o.color.toJSON())}};o([s({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),o([s({type:i,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),o([s({type:n,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),o([s({type:r,json:{type:[l],default:null,write:!0}})],c.prototype,"color",void 0),c=o([p("esri.symbols.LineStyleMarker3D")],c);export{c as default};