大约有 1,273 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1032) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(36) Laya3.0_文档(21) Laya2.0_示例(3) Laya_示例(3)
...ying 赞同来自: a4362928 package { import laya.display.Sprite; import laya.display.Stage; import laya.utils.HitArea; /** * ... * @author yung */ public class LayaAirDemo { private var red:Sprite; ...
来源: Laya_社区 发布时间: 20161122
...候,把a的纹理取出来重新绘制,但是好像没有效果 var a:Sprite = new Sprite(); var count:int = 0; for(var i:int=0; i<200; i++) { for(var j:int=0; j<100; j++) { if(count == 10000) { var htmlCanvas:HTMLCanvas = a.drawToCanvas(width,height,0,0); var texture:Texture = new Texture...
来源: Laya_社区 发布时间: 20181113
... and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture will be flipped vertical. Default is false. * @param clearColor Optional. If provided, the texture will be cleared to this color b...
来源: Laya_社区 发布时间: 20250827
...回复被折叠 要回复问题请先登录 发起人 iwayee 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 请问LayaAir中如何使图片以圆形的方式显示? 如何设置Sprite的宽高和点击区域? Texture图片能否进行翻转? matter中layasprite怎...
来源: Laya_社区 发布时间: 20181208
... lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘制bug 怎么检测点是否在 graphics所绘制的区域内 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚...
来源: Laya_社区 发布时间: 20170227
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
...ron 赞同来自: /** * <p>绘制 当前<code>Sprite</code> 到 <code>Canvas</code> 上,并返回一个HtmlCanvas。</p> * <p>绘制的结果可以当作图片源,再次绘制到其他Sprite里面,示例:</p> ...
来源: Laya_社区 发布时间: 20180626
... 微信 andy_jinhuang 赞同来自: 那如果换一种说法,就是一个sprite上addChild了很多的子对象,但是我现在想把这个sprite画成一张图替换到游戏中如何根据这个sprite去draw这张图? 2017-02-21 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 这个是...
来源: Laya_社区 发布时间: 20170221
...之后不生效,是因为现在不支持颜色渐变吗? var sp = new Sprite(); var gra = Browser.context.createLinearGradient(0, 0, bw, bh); gra.addColorStop(0, '#ffaaaa'); gra.addColorStop(1, '#ffffff'); sp.graphics.drawRect(0, 0, 200, 200, gra); Laya.stage.addChild(sp);创建颜色渐变的...
来源: Laya_社区 发布时间: 20180413
...折叠 要回复问题请先登录 发起人 sadamu 相关问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘制bug drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 微信小游戏绘制开放域...
来源: Laya_社区 发布时间: 20171213