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

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

261. 资源加载清除问题 [ 70%]

....create(this, onLoadCom)); 加载成功一个纹理后,用一个Sprite  graphics.drawTexture(e); 在加载成功方法里面写Loader.clearRes(mapBit, true); 会立刻清掉了纹理,Sprite上面也没有了。 如果在加载成功后加一个延时1秒,调用Loader.clearRes就清理掉...

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

262. 用drawPie绘制的sprite用于遮罩mask,会出现错乱。 [ 70%]

...sprite用于遮罩mask,会出现错乱。 在frameLoop下,每次执行graphics.clear(),graphics.drawPie(...),扇形本身是没有问题的,但用于mask后,会出现显示混乱:抖动、漏线。具体如图: 附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

263. laya.ui.Button_API3.0 [ 70%]

...Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs center...

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

264. laya.ui.ScaleBox [ 70%]

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

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

265. laya.d3.core.scene.BaseScene [ 70%]

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

来源: laya_api 发布时间: 20170422

266. laya.ui.TextArea_API3.0 [ 70%]

...archy 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

267. laya.display.AnimationBase_API3.0 [ 70%]

...meAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...

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

268. laya.ui.Box [ 70%]

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

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

269. laya.display.FrameAnimation_API3.0 [ 70%]

...ation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...

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

270. [LayaAirIDE2]富文本:HtmlDivElement是否支持垂直居中? [ 70%]

...</span>"; Laya.stage.addChild(html); var sp = new Laya.Sprite(); sp.graphics.drawRect(0, 0, 300, 30, null, "#999999"); Laya.stage.addChild(sp); var sp2 = new Laya.Sprite(); sp2.graphics.drawRect(0, 30, 300, 30, null, "#999999"); Laya.stage.addChild(sp2); 2025-11-13 1 1 分享 微博 QZONE 微...

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