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

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

1. laya.display.Text [ 100%]

...。 注意:如果运行时系统找不到设定的字体,则用系统默认字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Prop...

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

2. laya.display.BitmapFont [ 95%]

...destroy():void 销毁位图字体,调用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont  getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont  getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont  getMaxHeight():Number ...

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

3. laya.ui.Label [ 94%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...

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

4. laya.ui.FontClip [ 91%]

... : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...

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

5. laya.display.Input [ 90%]

...的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

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

6. laya.ui.TextArea [ 86%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...

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

7. laya.html.dom.HTMLDivElement [ 86%]

...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...

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

8. laya.ui.TextInput [ 86%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...

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

9. laya.ui.ComboBox [ 82%]

...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...

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

10. laya.ui.UIGroup [ 79%]

...Group, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激...

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