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

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

41. laya.display.Text [ 47%]

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

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

42. laya.display.Text [ 45%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐...

来源: laya_api 发布时间: 20170929

43. laya.display.Input [ 45%]

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

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

44. laya.ui.ColorPicker_API3.0 [ 44%]

...er_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...

来源: Laya3.0_api 发布时间: 20231115

45. laya.display.Text_API3.0 [ 43%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 example package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "...

来源: Laya3.0_api 发布时间: 20231115

46. 【简单跑酷--JS版】---Lv.6 终篇 [ 41%]

...yer.x, this.player.y)){ //人物如果踩到地板了 就把人物的坐标设置到地板上面 this.player.y = floor.y; //如果到地板上面的 就得重置跳的方法 this.player.jumpReset(); } } } //点击 出发人物 跳跃 _proto.onMouseDown = function(){ this.player.jump(); } _proto.onMo...

来源: Laya_社区 发布时间: 20160803

47. laya.ui.ComboBox_API3.0 [ 40%]

...boBox_Example { public function ComboBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...

来源: Laya3.0_api 发布时间: 20231115

48. laya.display.Input [ 40%]

...prite  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

49. laya.ui.Box [ 39%]

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

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

50. laya.html.dom.HTMLDivElement [ 39%]

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

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