// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("../chunks/tslib.es6 ../Color ../core/jsonMap ../core/lang ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/subclass ./FillSymbol ./SimpleLineSymbol".split(" "),function(c,l,d,m,f,r,t,n,p,a,q){var g;d=new d.JSONMap({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal", esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});a=g=class extends a{constructor(...b){super(...b);this.color=new l([0,0,0,.25]);this.outline=new q;this.type="simple-fill";this.style="solid"}normalizeCtorArgs(b,h,k){if(b&&"string"!==typeof b)return b;const e={};b&&(e.style=b);h&&(e.outline=h);k&&(e.color=k);return e}clone(){return new g({color:m.clone(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}}; c.__decorate([f.property()],a.prototype,"color",void 0);c.__decorate([f.property()],a.prototype,"outline",void 0);c.__decorate([n.enumeration({esriSFS:"simple-fill"},{readOnly:!0})],a.prototype,"type",void 0);c.__decorate([f.property({type:d.apiValues,json:{read:d.read,write:d.write}})],a.prototype,"style",void 0);return a=g=c.__decorate([p.subclass("esri.symbols.SimpleFillSymbol")],a)});