大约有 257 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0131 秒)
Laya_社区(103) Laya3.0_api(56) Laya2.0_文档(32) Laya2.0_示例(27) Laya_示例(24) Laya3.0_文档(14) Laya2.0_api(1)
...ad-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-on...
来源: Laya2.0_api 发布时间: 20190513
...加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Bu...
来源: Laya2.0_文档 发布时间: 20210714
...多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。</p> * @param url 图片地址。 * @param complete (可选)加载完成回调。 * @return 返回精灵对象本身。...
来源: Laya_社区 发布时间: 20181010
...哈哈哈哈哈哈哈哈哈哈哈哈哈!"; Laya.stage.addChild(text); text.width=100; text.height=100; } } } 2016-12-19 0 6 分享 微博 QZONE 微信 皮 赞同来自: Browser.window.conch这个是未定义的,不会执行Browser.window.conch.setFontFaceFromBuffer("hu",arr);这句话。怎么回...
来源: Laya_社区 发布时间: 20161219
.../monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",Laya.Handler.create(this,func...
来源: Laya3.0_文档 发布时间: 20251010
...ser.document.createElement("div"); qrcode= new Browser.window.QRCode(div,{ width : 100, height : 100 }); var url:String ="http://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Laya.stage.addChild(qrcodeSp); } private function clickHandler():...
来源: Laya2.0_文档 发布时间: 20210715
...hrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...
来源: Laya3.0_api 发布时间: 20231115
...INGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalSc...
来源: Laya3.0_api 发布时间: 20231115
... activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX m...
来源: Laya3.0_api 发布时间: 20231102
...INGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalSc...
来源: Laya3.0_api 发布时间: 20231115