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

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

181. 使用graphics.drawPath方法绘制带边框圆角矩形出现的问题 [ 54%]

...汗!     代码如下:    //自定义路径         var path:Array<any> =  [                 ["moveTo", 0, 0],                  ["arcTo", 100, 0, 100, 1, 10],                  ["arcTo", 100, 50, 99, 50, 10],                  ["arcTo", 0, 50, 0, 4...

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

182. laya.ui.Component [ 54%]

...nly] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获...

来源: laya_api 发布时间: 20170929

183. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 54%]

...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") a...

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

184. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 53%]

...GL; export class UI_ScrollBar { /***水平滚动条资源**/ private skins:Array=["res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constr...

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

185. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 53%]

...GL; export class UI_ScrollBar { /***垂直滚动条资源**/ private skins:Array=["res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constr...

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

186. as编译器1.7.5beta的问题 [ 53%]

...译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly ...

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

187. 请问laya有没有类似翻页容器(pageView)的组件? [ 53%]

...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...

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

188. [LayaAirIDE3]xcode切入切出声音不播放 [ 52%]

... private getActiveEffectOrder(): number {         const activeEffect = Array.from(this.effectChannels.values())             .find(channel =>                 channel && !channel.isStopped             );         if (activeEffect) {             const active ...

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

189. laya.ui.Tree [ 52%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,只包含当前可视节点数据。 Tree autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变...

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

190. UI-Tree [ 52%]

....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", "../../re...

来源: Laya_示例 发布时间: 20260818