大约有 712 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0072 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
... progressBar.value = 0.3;//设置 progressBar 的进度值。 progressBar.width = 200;//设置 progressBar 的宽度。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, o...
来源: Laya3.0_api 发布时间: 20231115
...复 cuixueying 赞同来自: 自己计算,在适配前后获取Browser.width和Browser.height,求其比值即可! 2017-08-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 godssl 相关问题 两个对象new了一个相同的对象...
来源: Laya_社区 发布时间: 20170818
... //设置文本显示框位置 this.text.x = Laya.stage.width / 2 -50 ; this.text.text = "触控点归零"; //显示文本显示框 this.text.name = "ceshi"; this.text.overflow = Laya.Text.HIDDEN; ...
来源: Laya_社区 发布时间: 20190605
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX global...
来源: Laya3.0_api 发布时间: 20231115
...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
...hitTestPrior mouseThrough name 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
...ntroller() { const Event = Laya.Event; let durationInput = this.createInputWidthLabel("Duration:", '2000', 400, 10); durationInput.on(Event.INPUT, this, function() { duration = parseInt(durationInput.text); }); } createInputWidthLabel(label, prompt, x, y) { const Text = Laya.Text, Input = Laya.Input...
来源: Laya2.0_示例 发布时间: 20250312
...性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width = 300;//设置 textInput 的宽度。 textInput.height = 200;//设置 textInput 的高度。 textInput.bgColor = "#c30c30"; Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } private function Text_I...
来源: Laya2.0_文档 发布时间: 20210715
...signHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage designWidth : Number = 0设计宽度(初始化时设置的宽度Laya.init(width,height))Stage destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displa...
来源: Laya2.0_api 发布时间: 20190513
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite duration : Number[read-only] 获取视频长度(秒)。ready事件触发后可用。 Video ended : ...
来源: Laya2.0_api 发布时间: 20190513