@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 1.28 kB
JavaScript
import{_ as o}from"../chunks/tslib.es6.js";import r from"../Color.js";import{ClonableMixin as e}from"../core/Clonable.js";import{JSONSupport as t}from"../core/JSONSupport.js";import{isSome as s,isNone as p}from"../core/maybe.js";import{property as l}from"../core/accessorSupport/decorators/property.js";import{Integer as i}from"../core/accessorSupport/ensureType.js";import"../core/arrayUtils.js";import{subclass as c}from"../core/accessorSupport/decorators/subclass.js";import{lineMarkerPlacements as a,lineMarkerStyles as n}from"./support/lineMarkers.js";let m=class extends(e(t)){constructor(o){super(o),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(o){return s(o)&&o.placement===this.placement&&o.style===this.style&&(p(this.color)&&p(o.color)||s(this.color)&&s(o.color)&&this.color.toJSON()===o.color.toJSON())}};o([l({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],m.prototype,"type",void 0),o([l({type:a,json:{default:"begin-end",write:!0}})],m.prototype,"placement",void 0),o([l({type:n,json:{default:"arrow",write:!0}})],m.prototype,"style",void 0),o([l({type:r,json:{type:[i],default:null,write:!0}})],m.prototype,"color",void 0),m=o([c("esri.symbols.DOELineStyleMarker3D")],m);const y=m;export{y as default};