Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

7 lines
2.1 KiB

// 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 ../core/screenUtils ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/RandomLCG ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/subclass ./LineStyleMarker3D ./Symbol3DLayer ./patterns/LineStylePattern3D ./patterns/utils ./support/colors ./support/materialUtils ./support/Symbol3DMaterial ./support/symbolLayerUtils3D".split(" "),function(c,g,d,b,u,v,l,m,f,n,p,q,r,t,h,k){var e;b=e=class extends n{constructor(a){super(a);
this.material=null;this.type="line";this.join="miter";this.cap="butt";this.size=g.px2pt(1);this.marker=this.pattern=null}clone(){const a={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new e(a)}static fromSimpleLineSymbol(a){a={enabled:!0,size:a.width??g.px2pt(1),cap:a.cap||"butt",join:a.join||"miter",pattern:a.style?
new p({style:a.style}):null,material:new h.Symbol3DMaterial({color:(a.color||r.white).clone()}),marker:a.marker?new f({placement:a.marker.placement,style:a.marker.style,color:a.marker.color?.clone()??null}):null};return new e(a)}};c.__decorate([d.property({type:h.Symbol3DMaterial,json:{write:!0}})],b.prototype,"material",void 0);c.__decorate([l.enumeration({Line:"line"},{readOnly:!0})],b.prototype,"type",void 0);c.__decorate([d.property({type:k.lineJoins,json:{write:!0,default:"miter"}})],b.prototype,
"join",void 0);c.__decorate([d.property({type:k.lineCaps,json:{write:!0,default:"butt"}})],b.prototype,"cap",void 0);c.__decorate([d.property(t.screenSizeProperty)],b.prototype,"size",void 0);c.__decorate([d.property(q.symbol3dLinePatternProperty)],b.prototype,"pattern",void 0);c.__decorate([d.property({types:{key:"type",base:f,typeMap:{style:f}},json:{write:!0}})],b.prototype,"marker",void 0);return b=e=c.__decorate([m.subclass("esri.symbols.LineSymbol3DLayer")],b)});