大约有 998 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0082 秒)
Laya_社区(777) Laya3.0_api(69) Laya2.0_api(62) laya_api(57) Laya2.0_文档(21) Laya2.0_示例(5) Laya_示例(5) Laya3.0_文档(2)
...BoyClick(e) { //点击后小人会放大缩小 var boy = e.target; if (boy.scaleX === 1) { boy.scale(1.2, 1.2); } else { boy.scale(1, 1); } } function onTxtClick(e) { //点击后切换适配模式 e.stopPropagation(); index++; if (index >= modes.length) index = 0; Laya.stage.scaleMode = modes[index]...
来源: Laya_示例 发布时间: 20241117
...image.png"); Laya.stage.addChild(older); console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds().width,older.getBounds().height); older.scale(2,2); console.log(older.scaleX,older.scaleY,older.rotation,older.x,o...
来源: Laya_社区 发布时间: 20170118
...BoyClick(e) { //点击后小人会放大缩小 let boy = e.target; if (boy.scaleX === 1) { boy.scale(1.2, 1.2); } else { boy.scale(1, 1); } } onTxtClick(e) { //点击后切换适配模式 e.stopPropagation(); index++; if (index >= modes.length) index = 0; Laya.stage.scaleMode = modes[index]; this.tx...
来源: Laya2.0_示例 发布时间: 20241117
...splayedInStage drawCallOptimize filters font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxScrollX maxScrollY maxWidth mouseEnabled mouseX mouseY numChildren objContainer overflow padding parent pivotX pivo...
来源: Laya3.0_api 发布时间: 20231115
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...缩放值,返回 Rectangle 对象存放计算出的坐标X值、Y值、ScaleX值、ScaleY值。 Utils getTransformRelativeToWindow(coordinateSpace:Sprite, x:Number, y:Number):Object[static] 获取指定区域内相对于窗口左上角的transform。 Utils measureText(txt:String, font:String...
来源: laya_api 发布时间: 20170929
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mouseEnabled mouseX mouseY numChildren parent pivotX p...
来源: Laya3.0_api 发布时间: 20231115
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D isOpen itemColors itemHeight itemPadding itemSize labelBold labelColors labelFont labelPadding labelSize labels left list mask mouseEnabled mouseX mouseY numChil...
来源: Laya3.0_api 发布时间: 20231115
...age drawCallOptimize filters fitContent font fontSize globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea html ignoreLang is3D italic leading left mask maxWidth mouseEnabled mouseX mouseY numChildren overflow padding parent pivotX pivotY right rotation scaleX scaleY scene...
来源: Laya3.0_api 发布时间: 20231115