• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 240 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0074 秒)

191. laya.html.dom.HTMLDivElement [ 54%]

...ter; 水平对齐方式 line-height:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽度 height:100px; 对象高度 示例用法: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML = " a span span2 p "; Public Properties Hide Inhe...

来源: Laya2.0_api 发布时间: 20190513

192. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 54%]

...aleMode = Laya.Stage.SCREEN_VERTICAL;//自动竖屏 //创建舞台,默认背景色是黑色 var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66;...

来源: Laya_社区 发布时间: 20180715

193. 【简单跑酷--JS版】---Lv.6 终篇 [ 53%]

....js  代码如下  (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = null; //最小值 this.MIN_VALUE = 0; //最大值 this.MAX_VALUE = 100; //值 this.value = 100; Hp.__super.call(this); this.init(type); } //能量类型 Hp.HP_TYPE_ENERGY = "hp_ty...

来源: Laya_社区 发布时间: 20160803

194. laya.ui.UIGroup [ 53%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

来源: Laya2.0_api 发布时间: 20190513

195. laya.display.Input_API3.0 [ 53%]

...ited from Text.borderColor Defined in laya/display/Text.ts:576 文本边框背景颜色,以字符串表示。 Returns string Inherited from Text.borderColor Defined in laya/display/Text.ts:580 文本边框背景颜色,以字符串表示。 Parameters value: string Returns void cacheAs get cacheA...

来源: Laya3.0_api 发布时间: 20231115

196. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 52%]

....WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧...

来源: Laya2.0_文档 发布时间: 20210715

197. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 52%]

....WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, this.onFrame); } onFrame(): void { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个...

来源: Laya2.0_文档 发布时间: 20210715

198. laya.ui.Tab [ 51%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

来源: Laya2.0_api 发布时间: 20190513

199. laya.ui.RadioGroup [ 51%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以像素为单位)。 UIComponent cacheA...

来源: Laya2.0_api 发布时间: 20190513

200. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 51%]

..., 640,WebGL); //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { //如果创建对象时间为100帧间隔后 if(createTime>=100) { //每200帧间隔创建30...

来源: Laya2.0_文档 发布时间: 20210715