大约有 183 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0084 秒)
...mage("resource/ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Image("resource/ui/image.png"); addChild(image); var button:Button = new Button("resource/ui/btn_close.png"); button.name = Dialog.CLOSE;//设置button的name属性值。 butt...
来源: Laya3.0_api 发布时间: 20231115
...象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabl...
来源: Laya3.0_api 发布时间: 20231115
...itTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedI...
来源: Laya3.0_api 发布时间: 20231115
...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...
来源: Laya3.0_api 发布时间: 20231115
...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...
来源: Laya3.0_api 发布时间: 20231115
...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...
来源: Laya3.0_api 发布时间: 20231115
... 对象的显示位置。 text.width = 300;//设置 text 的宽度。 text.height = 200;//设置 text 的高度。 text.italic = true;//设置 text 的文本显示为斜体。 text.borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列...
来源: Laya3.0_api 发布时间: 20231115
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...
来源: Laya2.0_api 发布时间: 20190513
...每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example ...
来源: Laya3.0_api 发布时间: 20231115