TextSymbol3DLayer.js 1.43 KB
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.6/esri/copyright.txt for details.
//>>built
define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../core/lang ./Symbol3DLayer ./support/Symbol3DHalo ./support/materialUtils ../core/accessorSupport/decorators".split(" "),function(m,n,g,c,d,h,k,l,b){return function(f){function a(a){a=f.call(this)||this;a.font=null;a.halo=null;a.material=null;a.size=void 0;a.text=void 0;a.type="text";return a}g(a,f);e=a;a.prototype.writeFont=function(a,b){a&&(b.font=d.clone(a))};a.prototype.clone=function(){return new e({enabled:this.enabled,
elevationInfo:this.elevationInfo&&this.elevationInfo.clone(),font:this.font&&d.clone(this.font),halo:this.halo&&d.clone(this.halo),material:this.material&&this.material.clone(),size:this.size,text:this.text})};c([b.property()],a.prototype,"font",void 0);c([b.writer("font",{"font.family":{type:String},"font.weight":{type:String},"font.style":{type:String}})],a.prototype,"writeFont",null);c([b.property({type:k.default,json:{write:!0}})],a.prototype,"halo",void 0);c([b.property()],a.prototype,"material",
void 0);c([b.property(l.screenSizeProperty)],a.prototype,"size",void 0);c([b.property({type:String,json:{write:!0}})],a.prototype,"text",void 0);c([b.property()],a.prototype,"type",void 0);return a=e=c([b.subclass("esri.symbols.TextSymbol3DLayer")],a);var e}(b.declared(h))});