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

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

291. 请教一个图片处理成黑白的问题 [ 51%]

...0, 0.3086, 0.6094, 0.0820, 0, 0, 0, 0, 0, 1, 0]; var grayscaleFilter = new ColorFilter(grayscaleMat); var grayApe = new Sprite(); grayApe.loadImage("../../res/apes/monkey2.png"); Laya.stage.addChild(grayApe); grayApe.filters = [grayscaleFilter];如果一批图片 只要是 grayApe  Sprite  的 子...

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

292. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;">' + 'cheese</span>' + '</div>' + '&l...

来源: Laya3.0_文档 发布时间: 20251010

293. 求助,屏幕旋转后滚动条没有跟随旋转 [ 50%]

...t = new Laya.Label(); t.width = 638; t.fontSize = 25; t.wordWrap = true; t.color = "#976A4F"; t.overflow = "scroll" t.leading = 20; t.text =WanF.xinxi; panel.addChild(t); } public static xinxi = ` 信息,指音讯、消息、通讯系统传输和处理的对象,泛指人类社会传播的一切...

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

294. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 49%]

...treeItem", "width": "150", "left": "33", "height": "22", "name": "label", "color": "#ffff00", "right": "0", "x": "33"}}, {"type": "Clip", "props": {"x": "0", "name": "arrow", "y": "5", "skin": "ui/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left":...

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

295. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res: Array = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_folder.png", "res/ui/tree/clip...

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

296. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 49%]

...本内容 txt.text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设...

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

297. drawTexture 画出来的数据会有以前的数据 [ 49%]

...出,那个list中的数据也存在,但没渲染出。 2.0 drawTexture color参数无效 斜角透视的感觉怎么弄出来呀?? 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 编辑了图片 执行代码说加载不出来资源 这个是怎么回事...

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

298. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png", "../../../../res/ui/tree/cl...

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

299. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 46%]

...标签嵌套RadioGroup会导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_...

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

300. List滚动条问题 [ 46%]

...g_image); // 金豆数 this._goldLabel = new Laya.Label(); this._goldLabel.color = "#FFBA00"; var font = GameUI.GetFont("$font.marketdlg.default"); this._goldLabel.font = font.family; this._goldLabel.bold = (parseInt(font.bold | 0) == 0 ? false : true); this._goldLabel.fontSize = parseInt(font.size)...

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