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

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

291. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...有多种做法,而其间差异很有必要知道。 使用getBounds/ getGraphicBounds。 var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); getBounds可以满足多数多数需求,但由于其需要计...

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

292. laya.media.VideoNode_API3.0 [ 50%]

...rchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc cu...

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

293. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 50%]

...re = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp....

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

294. laya.ui.UIComponent_API3.0 [ 50%]

...r OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...

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

295. laya.ui.ColorPicker [ 50%]

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

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

296. laya.ui.Component [ 50%]

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

来源: laya_api 发布时间: 20170929

297. laya.device.media.Video [ 50%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite  height : Number[override] Video hitArea : * 可以设置一个Rectangle区...

来源: laya_api 发布时间: 20170929

298. laya.ui.Tree [ 50%]

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

来源: laya_api 发布时间: 20170929

299. laya.ui.TextInput_API3.0 [ 50%]

...Label TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borde...

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

300. laya.ui.ScaleBox_API3.0 [ 50%]

...ierarchy Box ScaleBox 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