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

大约有 683 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0081 秒)

341. laya.ui.Tab_API3.0 [ 72%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

342. laya.ui.Clip_API3.0 [ 72%]

...X 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其...

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

343. laya.ui.FontClip_API3.0 [ 72%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled displayHei...

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

344. laya.display.Animation_API3.0 [ 72%]

...AP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalRotation globa...

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

345. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 72%]

...awCanvas 的一个bug drawCanvas(canvas: HTMLCanvas, x: number, y: number, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length+...

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

346. 我自己绘制的矩形如何以自身中心点旋转不能实现啊 [ 72%]

...; public class HelloLaya { public function HelloLaya() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,300,"#000fff"); Laya.stage.addChild(sp); sp.size(200,300); sp.pivot(sp.width/2,sp.height/2); sp.pos(200,200)...

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

347. laya.ui.ComboBox_API3.0 [ 72%]

...r itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displayedInStage draw...

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

348. laya.ani.bone.Skeleton [ 72%]

...read-only] 对象的显示高度(以像素单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

349. laya.media.SoundNode [ 72%]

...,默认true。如果设置不可见,节点将不被渲染。Sprite width : Number 表示显示对象的宽度,以像素单位。 宽度默认0,可以手动设置,或者通过getbounds获取实际宽度。设置此宽度只用来做鼠标碰撞使用,改变后并不影响显示...

来源: laya_api 发布时间: 20170422

350. 图片居中的问题 [ 72%]

...:   请设置图片的中心点pivotX和pivotY中心位置,即image.width/2,image.height/2,image的宽高需要自己手动设置或者通过getBounds获取。 2016-11-18 0 0 分享 微博 QZONE 微信 shaouXie 赞同来自: var bg = new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); L...

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