大约有 21 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0043 秒)
...Inner HTML内容中输入下述文本的运行效果 <span style='font-weight:bold;font:50px Arial;color:red' href='https://ask.layabox.com'>LayaBox</span> 可以看到,LayaBox文字使用了 Bold 粗体,字体大小是50像素,Arial字体,字体颜色是红色,并且LayaBox是...
来源: Laya3.0_文档 发布时间: 20230303
... const { regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } //如果没有 Setter,则 weight 为只读属性 set weight(value: number) { this._weight = value; } } 2.3 是否序列化保...
来源: Laya3.0_文档 发布时间: 20251010
...x; 字体大小 * font-weight:bold:none; 字体是否是粗体,功能同bold * color:#ff0000; 字体颜色 * stroke:2px; ...
来源: Laya_社区 发布时间: 20190227
... dontCrossCorners: false, heuristic: PathFinding.core.Heuristic.manhattan, weight: 1 }; var aStarMap: Laya.Texture2D = Laya.Loader.getRes("../../res/threeDimen/scene/TerrainScene/Assets/AStarMap.png") as Laya.Texture2D; pathFingding.grid = PathFinding.core.Grid.createGridFromAStarMap(aStarMap); 该...
来源: Laya_社区 发布时间: 20180309
...v:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='www.baidu.com'>" + "LayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChild(div); Ts HTMLDivElement href标签为何没有下划线...
来源: Laya_社区 发布时间: 20180611
...lement(); html.width=580; html.x=100; html.innerHTML="<span style='font-weight:bold;font:22px'>1771,英国科学家普利斯特利</span><span style='font:22px'>的实验结论:</span>" + "<span style='font:22px' href='https://ask.layabox.com/www.baidu.com '>植物可...
来源: Laya_社区 发布时间: 20170609
...v:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='http://ask.layabox.com/www.baidu.com'>" + "哈哈哈哈</span><span>欢迎你的加入</span>" Laya.stage.addChild(div); 2017-06-01 0 1 分享...
来源: Laya_社区 发布时间: 20170601
...ot;, "layers":[ { "name":"Base Layer", "weight":0, "blendingMode":0, "states":[ { "name":"init" }, { "name":"run", "clipPath":"Assets/_3DVisual/SubProjects/SaoGang/Art/Animation/Anim_Pr...
来源: Laya_社区 发布时间: 20190620
... dontCrossCorners: false, heuristic: PathFinding.core.Heuristic.manhattan, weight: 1 }; var aStarMap = Laya.Loader.getRes("../../res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); pathFingding.grid = PathFinding.core.Grid.createGridFromAStarMap(aStarMap); //初始化移动单元 this.moveSprit...
来源: Laya_示例 发布时间: 20260303
...pact"; p.style.fontSize = 30; var html = '<span style="color:black;font-weight:bold;font:24px Arial">&#160;&#160;a paragraph from external html.</span>\ <br/>\ <span style="color:white;font:24px Arial">paragraph 2</span>\ <img src="https://layaair.ldc.layabox...
来源: Laya_社区 发布时间: 20180808