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

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

421. laya.ui.ViewStack_API3.0 [ 74%]

...erarchy Box ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY co...

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

422. laya.ui.VBox_API3.0 [ 74%]

...rarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor ble...

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

423. laya.ui.Tab [ 74%]

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

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

424. laya.ui.HBox_API3.0 [ 74%]

...rarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bott...

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

425. 新人求教!!! [ 74%]

...Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{    //创建一个实例    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(this.img);    //显示初始化绘制的图片    this.switchImg();...

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

426. 一个LayaAir moveout target 设计上的疑问? [ 74%]

...       Laya.stage.addChild(sp[j + i * 10]);         sp[j + i * 10].graphics.drawRect(0, 0, 50, 50, "black");         sp[j + i * 10].size(50, 50);         sp[j + i * 10].pos(i * 60, j * 60);         sp[j + i * 10].on(Laya.Event.MOUSE_OVER, this, over);         sp[j + i * 10].on...

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

427. laya.ui.RadioGroup [ 74%]

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

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

428. tiledmap 可以在图块层的指定格子上添加Sprite[ 74%]

...ayerByName("player"); this.tMapPlayer = new Laya.Sprite(); this.tMapPlayer.graphics.drawRect(0, 0, 100, 100, "#FF0000", "#0000FF", 1); //this.tMapPlayer.loadImage("unit/test.png"); this.tMapPlayer.zOrder = 1000; testLayer.addChild(this.tMapPlayer); }楼上您好,我照着你的代码写的,但...

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

429. laya.ui.VScrollBar [ 74%]

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

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

430. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 74%]

...ya.display.Sprite(); //将上面的texture纹理绘制到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将bg添加到舞台 Laya.stage.addChild(bg);  我们再次刷新页面看看有什么效果   嗯 看来图片出来了~~~不错 现在我们可以开始继续了   //===============...

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