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

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

1. laya.display.Text [ 100%]

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

来源: laya_api 发布时间: 20170929

2. laya.display.BitmapFont [ 93%]

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

来源: laya_api 发布时间: 20170929

3. laya.ui.Label [ 93%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929

4. laya.display.Input [ 91%]

...的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水...

来源: laya_api 发布时间: 20170929

5. laya.ui.TextArea [ 85%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolean 本API已弃用。使用type="...

来源: laya_api 发布时间: 20170929

6. laya.ui.TextInput [ 83%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  asPassword : Boolean 本API已弃用。使用type...

来源: laya_api 发布时间: 20170929

7. laya.ui.ComboBox [ 81%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929

8. laya.ui.UIGroup [ 79%]

...Group, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,...

来源: laya_api 发布时间: 20170929

9. laya.ui.Button [ 78%]

...签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影...

来源: laya_api 发布时间: 20170929

10. laya.ui.Tab [ 74%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929