大约有 177 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0090 秒)
... label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实例对象 passwordLabel 。 passwordLabel.asPassword = true;//设置 passwordLabel 的显示反...
来源: Laya3.0_api 发布时间: 20231115
...象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 Image 类的实例对象 image ,并传入它的皮肤。 image.x = 100;//设置 image 对象的属性 x 的值,用于控制 image 对象的显示...
来源: Laya3.0_api 发布时间: 20231115
...。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array...
来源: laya_api 发布时间: 20170929
...。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array...
来源: laya_api 发布时间: 20170929
...。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : B...
来源: Laya2.0_api 发布时间: 20190513
...。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : B...
来源: Laya2.0_api 发布时间: 20190513
....displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolean drawCallOptimize get drawCallOptimize(): boolean set drawCallOptimize(value: boolean): void Inherited from Text.drawCallOptimize Defined in laya/display/Sprite.ts:1906 Returns boolean Inheri...
来源: Laya3.0_api 发布时间: 20231115
...y接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScene...
来源: Laya3.0_api 发布时间: 20231115
...器。 Laya.stage.addChild(progressBar);//将 progressBar 添加到显示列表。 Laya.timer.once(3000, this, changeValue);//设定 3000ms(毫秒)后,执行函数changeValue。 } private function changeValue():void { trace("改变进度条的进度值。"); progressBar.value = 0.6; } private ...
来源: Laya3.0_api 发布时间: 20231115
...数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数。clip.total="+ clip.total); if (clip.isPlaying == true) { clip.stop();//停止动画。 }else { clip.play();//播放动画。 } } } }...
来源: Laya3.0_api 发布时间: 20231115