大约有 842 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(452) Laya3.0_api(112) Laya2.0_api(90) laya_api(77) Laya2.0_文档(54) Laya3.0_文档(53) Laya2.0_示例(2) Laya_示例(2)
...素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(...
来源: Laya2.0_api 发布时间: 20190513
...or = color; //如果有描边颜色参数 if (strokeColor) { //文本描边宽度为4 label.stroke = 4; //设置文本描边颜色 label.strokeColor = strokeColor; } //加载到舞台 Laya.stage.addChild(label); return label; } } } ```
来源: Laya2.0_文档 发布时间: 20210714
...素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(...
来源: Laya2.0_api 发布时间: 20190513
...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
...uhang123 • 2017-10-10 13:34 适配我去掉了,也不行,除非舞台宽度设置成1400,小于这个右边的就消失了,,也就是说在PC上打开是正常的,放到手机上就显示不出来,是什么原因呢? Monica • 2017-10-10 14:11 @liuhang123:这个是因为你stage...
来源: Laya_社区 发布时间: 20170930
...闪屏了,简单的进度条倒是可以换个方式,比如改用修改宽度,但是比如设置hit或者unhit,圆形进度条,这些也会闪屏就很麻烦了,我的很多游戏引导有使用这个,这个就比较麻烦了。 柠檬_酸 • 2022-03-23 18:11 好的 1556190035用户 ...
来源: Laya_社区 发布时间: 20220323
...id Inherited from Bitmap.width Defined in laya/resource/Bitmap.ts:15 获取宽度。 Returns number Inherited from Bitmap.width Defined in laya/resource/Bitmap.ts:19 获取宽度。 Parameters width: number Returns void Static cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defin...
来源: Laya3.0_api 发布时间: 20231102
...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
... var speed=Math.min(400,Math.max(distance(last,first),200));//使线的宽度依托于你滑动的速度、并赋予上下限 line.graphics.drawPath(0,0,[["moveTo",last.x,last.y],["lineTo",first.x,first.y]],{}, {strokeStyle: "rgba(12,434,34,"+(1-(Date.now()-first.time)/times)+")",...
来源: Laya_社区 发布时间: 20171018
...素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(...
来源: Laya2.0_api 发布时间: 20190513