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

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

1. laya.display.Text [ 100%]

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

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

2. laya.display.BitmapFont [ 94%]

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

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

... : 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 [ 87%]

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

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

6. laya.ui.TextArea [ 82%]

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

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

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

8. laya.ui.TextInput [ 81%]

...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.display.css.TextStyle [ 80%]

...umber 垂直行间距(以像素为单位) TextStyle  padding : Array 默认边距信息 [左边距,上边距,右边距,下边距](边距以像素为单位) TextStyle  stroke : Number 描边宽度(以像素为单位)。 默认值0,表示不描边。 TextStyle  strokeColor : ...

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

10. laya.ui.ComboBox [ 77%]

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

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