大约有 4 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0027 秒)
...contentWidth/viewWidth或者contentHeight/viewHeight。 scrollLeft scrollRight scrollUp scrollDown 向指定方向滚动N*step。例如,如果step=20,那么scrollLeft(1)表示向左滚动20像素,scrollLeft(2)表示向左滚动40像素。注意:如果滚动属性设置了贴近元件,例...
来源: Laya3.0_文档 发布时间: 20251010
...开发者不注意导致iframe跑到游戏层的下面而看不见。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:54 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...偏移量位置处写入 Float32 值。范围是$\left[-2^{128}, 2^{127}\right]$,约为-3.4E38—3.4E+38。 var byte:Laya.Byte = new Laya.Byte(); byte.writeFloat32(10.021); writeFloat64(value:number):void写入float64位数值 其数值范围为-1.7E308~1.7E+308。 writeInt16(value:numbe...
来源: Laya3.0_文档 发布时间: 20250104
... * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: string): FillTextCmd { return this.addCmd(FillTextCmd.create(text, x, y, font, color, textAlign, 0, "")); } 代码示...
来源: Laya3.0_文档 发布时间: 20251010