大约有 443 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya_社区(240) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(13) Laya2.0_示例(7) Laya3.0_文档(3) Laya_示例(2)
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等...
来源: laya_api 发布时间: 20170929
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toggle : Boolean 指定按钮按下时是否是切换按钮的显示状态。 Button toolTip : * 鼠标悬停提示。 可以赋值为文本 Stri...
来源: laya_api 发布时间: 20170929
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等...
来源: laya_api 发布时间: 20170929
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matri...
来源: laya_api 发布时间: 20170929
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matri...
来源: laya_api 发布时间: 20170422
...ld(this.ape); let texture = Laya.loader.getRes(apePath); this.ape.graphics.drawTexture(texture); this.ape.x = (Laya.stage.width - texture.width) / 2; this.ape.y = (Laya.stage.height - texture.height) / 2; } applayFilter() { // 创建一个发光滤镜 const GlowFilter = Laya.GlowFilter; let glowFilt...
来源: Laya2.0_示例 发布时间: 20250223
...res/mao.jpg') // console.log(t) // var a = new Laya.Sprite() // a.graphics.drawTexture(t, 0,0) // a.scaleX = 0.3 // a.scaleY = 0.4 // a.pos(0,300) // Laya.stage.addChild(a) // })) // ape.pos(100, 200) // var c = -15 // Laya.timer.frameLoop(40, null, function () { // c += 0.00001 // console.log(c) //...
来源: Laya_社区 发布时间: 20180104
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node total : int[read-only] 得到总帧数据 Skeleton transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩...
来源: laya_api 发布时间: 20170929
...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite tick : Number 滑动的刻度值,滑动数值为tick的整数倍。默认值为1。 Slider timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为...
来源: laya_api 发布时间: 20170929
...200);//创建精灵并把它放倒200位置 * sp.graphics.drawTexture(texture);//把截图绘制到精灵上 * Laya.stage.addChild(sp);//把精灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从...
来源: Laya_社区 发布时间: 20180719