大约有 105 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
...过监听label事件来停止动画 缺陷:必须要先播放动画才能获取事件,也就是说如果你想停留的时间点较长时,该方法显然不可取。 2.播即停,Skeleton.prototype.play方法控制播放时间段(第4和第5个参数填同一时间即可) 缺陷:首...
来源: Laya_社区 发布时间: 20181115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
..._JS__("div.style.position='absolute'"); __JS__("div.style.zIndex=100"); // 获取laya的div,让饼图的div位于laya的上放 __JS__('var divLaya=document.getElementById("layaContainer")'); __JS__("divLaya.parentNode.insertBefore(div,divLaya)"); // 创建一个canvas元素,并获取canvas的2D ...
来源: Laya_社区 发布时间: 20170109
...e编辑页面的LIst的截图! w1114367261 • 2018-05-08 14:31 你直接获取你的List的height设置高度就可以了!
来源: Laya_社区 发布时间: 20180507
... laya中什么方法做到像createjs更新画布的方法 WEBGL下怎么获取当前主画布 js版本如何将laya的画布内嵌到网页的某个层内。 LayaAir能否发布成网站下的小画布 ? Test类继承 Laya.Sprite 然后重写render方法,如何将一个RGBA图像绘制到画布...
来源: Laya_社区 发布时间: 20230328
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior h...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ard"); var generalPasteboard = UIPasteboard.generalPasteboard(); // 设置/获取文本内容: generalPasteboard.setValueforPasteboardType("testValue", "public.utf8-plain-text"); var value = generalPasteboard.valueForPasteboardType("public.utf8-plain-text"); 2017-06-09 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20170531
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bot...
来源: laya_api 发布时间: 20170929