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

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

71. 屏幕适配-屏幕适配 [ 66%]

... boy1 = new Image(); boy1.skin = "../../res/cartoonCharacters/1.png"; boy1.top = 0; boy1.right = 0; boy1.on("click", this, onBoyClick); Laya.stage.addChild(boy1); //实例一个小人,放到右下角,并相对布局 var boy2 = new Image(); boy2.skin = "../../res/cartoonCharacters/2.png"; boy2.bo...

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

72. 屏幕适配-屏幕适配 [ 66%]

... let boy1 = new Image(); boy1.skin = "res/cartoonCharacters/1.png"; boy1.top = 0; boy1.right = 0; boy1.on("click", this, this.onBoyClick); Laya.stage.addChild(boy1); //实例一个小人,放到右下角,并相对布局 let boy2 = new Image(); boy2.skin = "res/cartoonCharacters/2.png"; boy2.botto...

来源: Laya2.0_示例 发布时间: 20241117

73. 关于laya生成的canvas定位问题导致内部事件不正确 [ 65%]

... relative;} .msgDiv{font-size: 30px;color: #fff;text-align: center;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type...

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

74. 2D物理-桥 [ 65%]

...击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = "#e69999"; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "...

来源: Laya2.0_示例 发布时间: 20241117

75. UI-RefreshList [ 65%]

... */ this.msgIdNow=1; /** 滚动条效果是否停止 */ this.scrollBarIsStop=false; /** 移动前的上次坐标位置 */ this.moveLastPos = null; /** 列表单元是否已打开 */ this.itemIsOpen=false; /**展开的单元格索引ID */ this.itemOpenId=-1; /**展开的单元格对象 */ this.opened...

来源: Laya2.0_示例 发布时间: 20241117

76. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...ht,默认为居左对齐 labelVAlign 文本标签的垂直对齐模型:top、middle、bottom,默认为居顶对齐 labelPadding 文本标签的边距。格式:上边距、右边距、下边距、左边距 labelStroke 文本标签的描边宽度,以像素为单位。默认值为0,表示...

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

77. laya.ui.WXOpenDataViewer_API3.0 [ 64%]

...Y scene scrollRect skewX skewY stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroy...

来源: Laya3.0_api 发布时间: 20231102

78. laya.ui.ScaleBox_API3.0 [ 63%]

...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyCh...

来源: Laya3.0_api 发布时间: 20231115

79. laya.ui.Box_API3.0 [ 63%]

...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyCh...

来源: Laya3.0_api 发布时间: 20231115

80. laya.ui.OpenDataContextView_API3.0 [ 63%]

...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _onActive _onInActive _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTi...

来源: Laya3.0_api 发布时间: 20231115