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

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

101. laya.ui.Dialog_API3.0 [ 44%]

...Hierarchy View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES dr...

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

102. laya.ui.List_API3.0 [ 43%]

...x; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_sup...

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

103. laya.ui.List [ 40%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent  height : Number[override] 显示...

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

104. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...gin extends IEditorEnv.AssetPreview { constructor() { super(); this.sprite.graphics.drawCircle(100, 100, 50, "#ffff00"); this.sprite.size(100, 100); } async setAsset(asset: IEditorEnv.IAssetInfo): Promise<any> { this.renderTarget = this.sprite; } } 显示效果如下: 二十、自定义资...

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