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

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

141. laya.ui.FontClip [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

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

142. laya.display.Animation [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...

来源: laya_api 发布时间: 20170929

143. laya.ui.TextInput [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用...

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

144. laya.ui.ProgressBar [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"l...

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

145. laya.display.Input [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗...

来源: laya_api 发布时间: 20170929

146. laya.display.Stage [ 59%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定...

来源: laya_api 发布时间: 20170929

147. vmLaya: MVVM for LayaAir [ 58%]

...而不是传统意义的游戏。比起 React/Angular,laya 的优势是性能和效果,缺点也很明显:开发效率不高。vmLaya 是一个基于 rxjs 的 mvvm 库,核心功能是数据绑定,并提供了一些 简化 laya 编程的辅助函数。这个库的目的是,通过完全分...

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

148. laya.ui.UIComponent [ 58%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 U...

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

149. laya.ui.Slider [ 58%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内...

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

150. 对象池pool与数组的区别 [ 58%]

...以拿飞机大战为例,里面大量用到了对象池,你可以通过性能、简便程度来对比下数组和对象池的用法   对象池的作用:      对象池,涉及到不断重复使用对象。在初始化应用程序期间创建一定数量的对象并将其存储在一个...

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