大约有 183 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0038 秒)
Laya_社区(52) Laya3.0_api(39) Laya2.0_api(36) laya_api(34) Laya2.0_示例(7) Laya2.0_文档(6) Laya_示例(6) Laya3.0_文档(3)
...{ var text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1; text.y = Laya.stage.height - text.height >> 1; Laya.stage.addChild(text); } })();module laya { import Stage = Laya.Stage; import Te...
来源: Laya_示例 发布时间: 20260814
...; let text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1; text.y = Laya.stage.height - text.height >> 1; Laya.stage.addChild(text); } } new SmartScale_Portrait();module laya { import Stage ...
来源: Laya2.0_示例 发布时间: 20260814
... let text = new Text(); text.text = "Orientation-Landscape"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1; text.y = Laya.stage.height - text.height >> 1; Laya.stage.addChild(text); } } new SmartScale_Landscape();module laya { import Stage...
来源: Laya2.0_示例 发布时间: 20260814
... 与内容相关的链接 提交 5 个回复 189*****192 赞同来自: img.gray=true 2017-06-15 0 2 分享 微博 QZONE 微信 189*****192 赞同来自: 2017-06-15 0 0 分享 微博 QZONE 微信 lu632375951 赞同来自: 感谢楼上的帮助 .gray 确实可以让图片变色 但是有一点...
来源: Laya_社区 发布时间: 20170615
...ne Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromArray scale setValue toArray toGamma toLinear gammaToLinearSpace linearToGammaSpace Constructors constructor new Color(r?: number, g?: number, b?: number, a?...
来源: Laya3.0_api 发布时间: 20231115
...ne Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromArray scale setValue toArray toGamma toLinear gammaToLinearSpace linearToGammaSpace Constructors constructor new Color(r?: number, g?: number, b?: number, a?...
来源: Laya3.0_api 发布时间: 20231102
...属性disabled mouseEnabled bug 一开始在页面类构造函数把按钮gray设置为true,mouseEnabled设置为false ,设置一个定时器把按钮gray设置为false,mouseEnabled设置为true 页面上显灰恢复,断点也走到btn.mouseEnabled = true 但是按钮没有接受点击事...
来源: Laya_社区 发布时间: 20171019
... Background 为精灵设置背景颜色,边框宽度,边框颜色。 Grayed 勾选后,精灵将呈现一个变灰的状态。注意,变灰不代表不能点击,如果需要不能点击,还需要另外设置Mouse Enabled属性。默认情况下,变灰是使用颜色滤镜实现的,但...
来源: Laya3.0_文档 发布时间: 20251010
...xt:ob.stuName}, state_txt:{text:str},sign_btn:{mouseEnabled:bo}, sign_btn:{gray:!bo}}); } this._signlist.array = arr; this._signlist.selectEnable = true; 以上,list中的按钮mouseEnabled与gray属性 就出问题了,乱掉了。不知道什么原因 170*****650 • 2017-08-23 15:35 还是...
来源: Laya_社区 发布时间: 20170822
...UE : Color[static] 蓝色 Color CYAN : Color[static] 蓝绿色 Color GRAY : Color[static] 灰色 Color GREEN : Color[static] 绿色 Color MAGENTA : Color[static] 品红色 Color RED : Color[static] 红色 Color WHITE : Color[static] 白色 Color YELLOW : Color[static] 黄色 Col...
来源: Laya2.0_api 发布时间: 20190513