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

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

101. 如何使用graphics绘画虚线 [ 76%]

...ke=\"black\" stroke-width=\"4\">" + " <path stroke-dasharray=\"5,5\" d=\"M5 20 l215 0\" />" + "<path stroke-dasharray=\"10,10\" d=\"M5 40 l215 0\" />" + "<path stroke-dasharray=\"20,10,5,...

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

102. laya.display.BitmapFont [ 75%]

...String):Number 获取指定文本内容的宽度。 BitmapFont  loadFont(path:String, complete:Handler):void 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 BitmapFont  parseFont(xml:XmlDom, texture:Texture):void 解析字体文件。 BitmapFon...

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

103. 使用layaide进行打包,提示如下错误。 [ 74%]

...头部加 "use strict" 即可。我写了个py3脚本   ``` import os  path = "/Users/uc10d/wp/gitlab/switch/client/bird/bin/js/" #文件夹目录   fns = [os.path.join(root,fn) for root, dirs, files in os.walk(path) for fn in files] for f in fns: print(f) with open(f, "r+") as f: old = f.read() ...

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

104. loadui问题 [ 74%]

...下是这样加载分离ui的吗?为什么我看 __proto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 这里面uiMap都没有地方会注册. 还有我按F12后this直接被去掉了,变成:loadUI("test/TestPage") 这样我发布就直接报错,无...

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

105. VScode指令编译出错 [ 74%]

...: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. 附件 : --> FrameWork2_0.zip 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...

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

106. LayaAirUnityPlugin 2.4beta IOException: Sharing violation [ 73%]

...压缩的那一堆勾勾。         IOException: Sharing violation on path C:\xxxxxxxxxx\LayaScene_levels\Conventional\Assets\Game\mat\mat-red.lmat System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 buffer...

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

107. List组件拖动浏览时item会出现重叠的现象 [ 72%]

...tDataSourceItem.HEI); // this.addChild(this._img); } public set dataSource(path: string) { // this._img.skin = path; this._lb.text = path; } } } 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 lzgyy123 ...

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

108. laya.net.URL [ 72%]

...源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础路径 通过设置customFormat函数,可以自定义URL格式化的方式 除了默认的通过增加后缀的格式化外,通过VersionManager类,可以开启IDE提供的,基于目...

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

109. laya.display.cmd.DrawPathCmd [ 72%]

...cumentationAll Packages | All Classes | Index | Frames No Frames DrawPathCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawPathCmdInheritanceDrawPathCmd Object 根据路径绘制矢量图形 Public Properties PropertyDefined By  brush : Object (可选)...

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

110. 画个圆角矩形就这么难? [ 72%]

画个圆角矩形就这么难? var path:any[] = [ ["moveTo", raduis, 0], //画笔的起始点, ["arcTo", w, 0, w, raduis, raduis], //p1(500,0)为夹角B,(500,30)为端点p2 ["arcTo", w, h, w-raduis, h, raduis],//p1(500,300)为夹角C,(470,300)为端点p2 ["arcTo", 0, h, 0, ...

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