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

大约有 142 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)

81. laya.ui.Label [ 44%]

...置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

来源: laya_api 发布时间: 20170929

82. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 44%]

...下: ```javascript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBox"字符串总宽度 var w = 800; //文本创建的起始x位置(>>在此使用右移运算符,相当于/2 用>...

来源: Laya2.0_文档 发布时间: 20210715

83. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 43%]

...nDemo{ constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 this.createTween(); } //创建缓动文本 private createTween():void{ //"LayaBox字符串总宽度" var w:number = 800; //文本创建的起始位置(>>在此...

来源: Laya2.0_文档 发布时间: 20210715

84. laya.ui.ColorPicker_API3.0 [ 43%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new Color...

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

85. laya.ui.TextArea [ 42%]

...有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

来源: laya_api 发布时间: 20170929

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

....js  代码如下  (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = null; //最小值 this.MIN_VALUE = 0; //最大值 this.MAX_VALUE = 100; //值 this.value = 100; Hp.__super.call(this); this.init(type); } //能量类型 Hp.HP_TYPE_ENERGY = "hp_ty...

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

87. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 42%]

...ic function TweenDemo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>...

来源: Laya2.0_文档 发布时间: 20210715

88. laya.display.Text [ 42%]

...置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

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

89. laya.display.Text_API3.0 [ 41%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text ...

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

90. TS setExternalLinkEx問題 [ 41%]

...utoHide 問題 LayaNative 使用setExternalLinkEx打开WebView 如何设置背景颜色透明的 使用ScrollRect捲動物理世界,貼圖錯位問題 问题状态 最新活动: 2018-05-28 15:24 浏览: 2982 关注: 2 人 Laya_Aaron • 2018-05-25 21:35 测试项目的时候,点二维码,...

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