大约有 1,615 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1315) Laya2.0_文档(68) Laya3.0_api(63) Laya2.0_api(59) laya_api(56) Laya2.0_示例(24) Laya_示例(21) Laya3.0_文档(9)
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...
来源: laya_api 发布时间: 20170929
...lements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall...
来源: laya_api 发布时间: 20170929
...游戏发行商,面向Flash开发者提供HTML5开发技术方案!"; //设置宽度,高度自动匹配 txt.width = 400; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.fontSize = 40; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.bold = true; txt.leading = 5; //设置...
来源: Laya2.0_示例 发布时间: 20251130
...需要自己手动修改 canvas 宽高对应到 淘宝小部件那边设置的宽高,也就是设计图的宽高 2021-08-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 无言的对话 相关问题 Dialog:屏蔽点击Dialog之...
来源: Laya_社区 发布时间: 20210716
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...
来源: laya_api 发布时间: 20170929
...r 提交次数,值越小越好; Canvas:由三个数值组成,只有设置 CacheAs 后才会有值,默认为0/0/0。从左到右数值的意义分别为:每帧重绘的画布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Public Prop...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...xt.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; inputText.maxChars = 5; Laya.stage.addChild(inputText); } })();module laya { import Input = Laya.I...
来源: Laya_示例 发布时间: 20251130
... Laya.init(Browser.width, Browser.height,WebGL); //设置背景颜色 Laya.stage.bgColor = "#ffcccc"; //设置舞台CLICK,该CLICK作为截屏的开关,点击舞台,对舞台对应的canvas区域进行截屏 ...
来源: Laya_社区 发布时间: 20170424