大约有 286 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0165 秒)
...rom Text.displayWidth Defined in laya/display/Sprite.ts:556 对象的显示宽度(以像素为单位)。 Returns number displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolea...
来源: Laya3.0_api 发布时间: 20231115
...";//设置 label 的name属性值。 label.size(100, 20);//设置 label 的宽度、高度。 this.addChild(label);//将 label 添加到显示列表。 }; Laya.class(Item,"mypackage.listExample.Item",_super);//注册类 Item 。 })(laya.ui.Box); Laya.init(640, 800);//设置游戏画布宽高、渲...
来源: Laya3.0_api 发布时间: 20231115
...rom Text.displayWidth Defined in laya/display/Sprite.ts:556 对象的显示宽度(以像素为单位)。 Returns number displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolea...
来源: Laya3.0_api 发布时间: 20231115
... taking into account the device pixel ratio. * @zh 浏览器窗口的物理宽度,考虑了设备像素比。 */ static get width(): number { Browser.__init__(); return ((ILaya.stage && ILaya.stage.canvasRotation) ? Browser.clientHeight : Browser.clientWidth) * Browser.pixelRatio; } /** * ...
来源: Laya3.0_文档 发布时间: 20251010
...rom Text.displayWidth Defined in laya/display/Sprite.ts:556 对象的显示宽度(以像素为单位)。 Returns number displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolea...
来源: Laya3.0_api 发布时间: 20231115
...rom Text.displayWidth Defined in laya/display/Sprite.ts:556 对象的显示宽度(以像素为单位)。 Returns number displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolea...
来源: Laya3.0_api 发布时间: 20231115
...rom Text.displayWidth Defined in laya/display/Sprite.ts:556 对象的显示宽度(以像素为单位)。 Returns number displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolea...
来源: Laya3.0_api 发布时间: 20231115
...素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite duration : Number[read-only] 获取视频长度(秒)。ready事件触发后可用。 Video ended : Boolean[read-only] 返回音频/视频的...
来源: Laya2.0_api 发布时间: 20190513
...启用 渲染尺寸用于控制Spine3D动画的显示大小。通过设置宽度(X)和高度(Y)参数,可以精确调整Spine3D的显示比例。 当不设置渲染尺寸时,Spine3D会使用Spine资源文件的原始尺寸。设置渲染尺寸后,将按照指定的尺寸进行显示。...
来源: Laya3.0_文档 发布时间: 20260203
...nt.contextWidth Defined in laya/html/dom/HTMLDivElement.ts:172 获取內容宽度 Returns number customRenderEnable set customRenderEnable(b: boolean): void Inherited from AnimationBase.customRenderEnable Defined in laya/display/Sprite.ts:319 设置是否开启自定义渲染,只有开启自定义...
来源: Laya3.0_api 发布时间: 20231102