• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 184 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)

91. laya.ui.Dialog_API3.0 [ 60%]

...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

92. laya.ui.Label_API3.0 [ 60%]

...象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实...

来源: Laya3.0_api 发布时间: 20231115

93. 其他 · LayaAir3.4 · 引擎文档 · LAYABOX [ 60%]

...io number 设备像素比 screenWidth number 屏幕宽度,单位px screenHeight number 屏幕高度,单位px windowWidth number 可使用窗口宽度,单位px windowHeight number 可使用窗口高度,单位px statusBarHeight number 状态栏的高度,单位px(LayaNative中没有小游戏...

来源: Laya3.0_文档 发布时间: 20260128

94. laya.ui.FontClip_API3.0 [ 60%]

...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

95. laya.ui.UIGroup_API3.0 [ 60%]

...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

96. laya.ui.CheckBox_API3.0 [ 59%]

...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

97. laya.ui.Radio_API3.0 [ 59%]

...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

98. laya.ui.Button_API3.0 [ 59%]

...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

99. laya.display.Text_API3.0 [ 59%]

... 对象的显示位置。 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

100. laya.ui.UIComponent [ 59%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

来源: Laya2.0_api 发布时间: 20190513