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

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

1. 屏幕适配缩放模式详解(JavaScript-2D基础篇(JS)-屏幕适配) [ 100%]

...         Laya.init(1136,640);                   //设置适配模式         Laya.stage.scaleMode = modes;             //设置舞台背景色         Laya.stage.bgColor  = "#ffff99";             //实例一个背景         va...

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

2. 屏幕适配缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 99%]

...      Laya.init(1136, 640);                    //设置适配模式"exactfit"         Laya.stage.scaleMode = Stage.SCALE_EXACTFIT;         //设置舞台背景色         Laya.stage.bgColor  = "#ffff99";               //实例一...

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

3. 屏幕适配缩放模式详解(TypeScript-2D基础篇(TS)-屏幕适配) [ 98%]

...舞台大小         Laya.init(1136, 640);           //设置适配模式         Laya.stage.scaleMode = this.modes;         //设置舞台背景色         Laya.stage.bgColor  = "#ffff99";             //实例一个背景         var ...

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

4. laya.ui.Image [ 93%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取设置true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

5. laya.ui.Image [ 92%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

6. laya.ui.ProgressBar [ 86%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取设置true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ...

来源: laya_api 发布时间: 20170929

7. laya.ui.AdvImage [ 85%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

8. laya.ui.ProgressBar [ 84%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

9. laya.ui.Slider [ 79%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取设置true,对性能有一定影响。 Sprite  bar : Button[read-only] 表示滑块按钮引用。 Slider blendMode : String指定要使用混合模...

来源: laya_api 发布时间: 20170929

10. laya.ui.Slider [ 78%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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