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

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

221. laya.ui.Dialog [ 56%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Time...

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

222. laya.ui.Image_API3.0 [ 56%]

...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...

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

223. laya.ui.AsynDialog [ 56%]

...签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值...

来源: laya_api 发布时间: 20170929

224. laya.display.FrameAnimation [ 56%]

...意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通...

来源: laya_api 发布时间: 20170929

225. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 56%]

...tegory=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ​ ![图片0.png](img/2.png) ​ (图2) ### 1.2 Label 属性 ​ ![图片0...

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

226. 为什么mc取得的时候有时候mc.getBounds().width;有值有时候是0 [ 56%]

...错Uncaught TypeError:Cannot read property "width" of undifined 对一张图片设置width=0 之后获取width为1e-7 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 SCALE_FIXED_WIDTH适配屏幕的问题 我打印laya.stage时看到有个_width 但是我打印la...

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

227. 物理Bodies绑定Laya.Sprite [ 56%]

... World.add(world, gun); 点击运行之后,屏幕都是黑色,不显示图片信息。这个感觉是有问题,还请官方来回答,非常感谢!! 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...

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

228. laya.display.Animation [ 56%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

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

229. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 56%]

...I&class=laya.ui.VSlider)。 ​ ProgressBar 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显示效果如下所示: ​ ![图片0.png](img/3.png) ​ (图3) ###...

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

230. laya.resource.HTMLCanvas_API3.0 [ 56%]

...ions: number): string | null Defined in laya/resource/HTMLCanvas.ts:192 把图片转换为base64信息 Parameters type: string "image/png" encoderOptions: number 质量参数,取值范围为0-1 Returns string | null toBase64Async toBase64Async(type: string, encoderOptions: number, callBack: Functi...

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