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

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

1. laya.display.BitmapFont [ 100%]

...ontSize : Number = 12当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。BitmapFont  letterSpacing : Number = 0字符间距(以像素为单位)。BitmapFontPublic Methods  MethodDefined By  destroy()...

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

2. laya.display.Text [ 90%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-onl...

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

3. laya.ui.FontClip [ 85%]

...ode EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontCli...

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

4. laya.ui.Label [ 83%]

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

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

5. laya.display.Input [ 78%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用...

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

6. laya.html.dom.HTMLDivElement [ 75%]

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

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

7. laya.ui.TextArea [ 74%]

...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.TextInput [ 72%]

...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.ComboBox [ 70%]

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

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

10. laya.net.Loader [ 65%]

...除。 EventDispatcher  setGroup(url:String, group:String):void[static] 设置资源分组。 LoaderProtected Methods  MethodDefined By  complete(data:*):void 加载完成。 Loader  onLoaded(data:* = null):void 资源加载完成的处理函数。 LoaderEvents Event Summary Defined By  co...

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