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

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

241. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 47%]

...加到舞台 Laya.stage.addChild(btn); //设置Button相关的属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](http...

来源: Laya2.0_文档 发布时间: 20210715

242. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 45%]

...体中,没放空格,最好设置一个空格宽度 mBitmapFont.setSpaceWidth(10); Laya.Text.registerBitmapFont(mFontName,mBitmapFont); var txt = new Laya.Text(); txt.text = "asdfghjk"; //设置宽度,高度自动匹配 txt.width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; ...

来源: Laya2.0_文档 发布时间: 20201114

243. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 45%]

...格的行数 list.repeatY = 4; //设置列表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在...

来源: Laya2.0_文档 发布时间: 20210715

244. 我用as3调试的matter.js,刚体发生碰撞后不会旋转,我的代码在附件里 [ 45%]

.../     public class WWJ_Main      {         private const stageWidth:int = 540;         private const stageHeight:int = 960;                  private var Matter:Object = Browser.window.Matter;         private var LayaRender:Object = Browser.window.LayaRender;   ...

来源: Laya_社区 发布时间: 20170822

245. laya.ui.List_API3.0 [ 45%]

...Enable selectHandler tag totalPage drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY array bgColor blendMode bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInSt...

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

246. laya.ui.UIGroup_API3.0 [ 43%]

...ouseThrough 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 displayedInStage drawCa...

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

247. laya.ui.ScrollBar_API3.0 [ 43%]

...gLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters...

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

248. laya.ui.RadioGroup_API3.0 [ 43%]

...ouseThrough 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 displayedInStage drawCa...

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

249. laya.ui.ComboBox_API3.0 [ 43%]

...r itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displayedInStage draw...

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

250. laya.ui.Tab_API3.0 [ 43%]

...ouseThrough 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 displayedInStage drawCa...

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