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{isSome as o}from"../core/maybe.js";import{property as r}from"../core/accessorSupport/decorators/property.js";import"../core/arrayUtils.js";import"../core/accessorSupport/ensureType.js";import{enumeration as s}from"../core/accessorSupport/decorators/enumeration.js";import{subclass as t}from"../core/accessorSupport/decorators/subclass.js";import a from"./Symbol3DLayer.js";import{symbol3dEdgesProperty as i}from"./edges/utils.js";import{Symbol3DMaterial as p}from"./support/Symbol3DMaterial.js";var l;let c=l=class extends a{constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new l({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:o(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};e([s({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),e([r({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),e([r({type:p,json:{write:!0}})],c.prototype,"material",void 0),e([r({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),e([r(i)],c.prototype,"edges",void 0),c=l=e([t("esri.symbols.ExtrudeSymbol3DLayer")],c);const d=c;export{d as default};
|