大约有 131 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0461 秒)
Laya_社区(60) Laya3.0_api(23) Laya3.0_文档(19) Laya2.0_api(10) laya_api(10) Laya2.0_文档(7) Laya_示例(1) Laya2.0_示例(1)
...tlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas", "type":Laya.loader.ATLAS }, { "url": 'res/atlas/battle.atlas', "type":Laya.loader.ATLAS } , { ...
来源: Laya_社区 发布时间: 20180525
...mage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disab...
来源: Laya3.0_api 发布时间: 20231102
...aya.Texture) => { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.owner.addChild(img); }); } } 1.2 带类型的加载方式 有的时候,网络资源没有后缀名,又或者,图片xxx.png并非是当成Texture使用...
来源: Laya3.0_文档 发布时间: 20251010
... Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.Clip; public class Clip_Example { private var clip:Clip; public function Cl...
来源: Laya3.0_api 发布时间: 20231115
...;//创建一个 ColorPicker 类的实例对象 colorPicket 。 colorPicket.skin = "resource/ui/color.png";//设置 colorPicket 的皮肤。 colorPicket.x = 100;//设置 colorPicket 对象的属性 x 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.y = 100;//设置 colorPicket ...
来源: Laya3.0_api 发布时间: 20231115
...例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4";//设置 textArea 的网格信息。 textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 ...
来源: Laya3.0_api 发布时间: 20231115
... var image:Image = new Image(); image.skin = "res/atlas/clanwar_bg.jpg?" + Math.random(); Laya.stage.addChild(image); var index:int = 0; Laya.stage.timerLoop(1, this, function():void{index+...
来源: Laya_社区 发布时间: 20190110
...帧属性介绍 `x`:x为属性名,-260为当前帧的值。如果选中skin,就显示skin属性名和对应的值。该栏不能修改。 `标签label`:该栏设置后,可以在项目中,通过标签名用代码对该帧进行操作。当设置标签后,设置标签的帧会出现红...
来源: Laya2.0_文档 发布时间: 20210715
...帧属性介绍 `x`:x为属性名,-260为当前帧的值。如果选中skin,就显示skin属性名和对应的值。该栏不能修改。 `标签label`:该栏设置后,可以在项目中,通过标签名用代码对该帧进行操作。当设置标签后,设置标签的帧会出现红...
来源: Laya2.0_文档 发布时间: 20210715
...label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y =100;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。...
来源: Laya3.0_api 发布时间: 20231115