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

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

321. laya.ui.VScrollBar_API3.0 [ 63%]

... ScrollBar VScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag t...

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

322. drawToTexture截大图有问题,会丢失 [ 62%]

...nit(): void {         this.nsp=new Laya.Sprite();         this.nsp.graphics.drawRect(0,0,1600,1600,"#ff0000");         this.nsp.mouseThrough=true;         Laya.stage.addChild(this.nsp);         this.nsp.on(Laya.Event.CLICK,this,this.drawImg,null)     }     drawImg(e:Event=nul...

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

323. htmlCanvas 像素级操作 [ 62%]

...ite() { Laya.loader.load("../src/img/testImg.png",Laya.Handler.create(this,graphicsImg)); } function graphicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片资源 var tex = Laya.loader.getRes("../src/i...

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

324. 写的更换纹理的代码不生效,大佬帮忙看一下。(工程附件已经上传) [ 62%]

...点的纹理                 (this.owner as Laya.Sprite).graphics.clear();                 var t: Laya.Texture = Laya.loader.getRes("puzzlePic/pi-" +this.levelNum +"-"+this.owner.name.slice(4,1)+ "-2.png");                 (this.owner as Lay...

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

325. laya.ui.RadioGroup_API3.0 [ 62%]

...hy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs cent...

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

326. laya.ui.Button [ 62%]

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

来源: laya_api 发布时间: 20170929

327. laya.ui.ComboBox_API3.0 [ 62%]

... UIComponent ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX ...

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

328. laya.ui.Label_API3.0 [ 62%]

...onent Label TextInput Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor bottom cac...

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

329. laya.ui.Tab_API3.0 [ 62%]

...Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs cent...

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

330. laya.physics.PhysicsDebugDraw [ 62%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...

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