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

大约有 98 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0078 秒)

71. laya.display.Text [ 49%]

...置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

来源: laya_api 发布时间: 20170929

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

....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

73. laya.ui.TextInput [ 48%]

...有一定影响。 Sprite  bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

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

74. laya.ui.TextArea [ 46%]

...有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

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

75. laya.ui.TextInput [ 46%]

...有一定影响。 Sprite  bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

来源: laya_api 发布时间: 20170929

76. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...计宽高会显示不全,物理宽高超过设计宽高的会漏出屏幕背景色。 该模式在移动端通常不被使用,无法做到各机型的全屏适配。 即便是在PC网页中,也要考虑到设计分辨率,可能会在某些分辨率较低的老显示器上显示不全,在...

来源: Laya3.0_文档 发布时间: 20251010

77. laya.display.Input [ 46%]

...e,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

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

78. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 44%]

...宽高的会显示不全,物理宽高超过设计宽高的会留出屏幕背景(白屏)。 该模式通常不被使用,仅有少数不使用引擎适配方案,有着自定义适配规则的开发者来使用。 noscale模式,不同机型对比效果如图11-1中所示。 ![图11-1](img/1...

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

79. laya.ui.TextArea [ 44%]

...有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

来源: laya_api 发布时间: 20170929

80. 新手常问问题 欢迎补充 [ 43%]

...NE 微信 qian 赞同来自:  ​ soundManager如何停止正在播放的背景音乐 SoundManager.playSound或者 SoundManager.playMusic会返回一个SoundChannel实例。你可以声明一个变量来接收它,然后通过SoundChannel来控制播放、停止、暂停。具体代码如下所...

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