大约有 315 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0041 秒)
Laya_社区(123) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(8) Laya3.0_文档(2) Laya2.0_示例(2) Laya_示例(2)
...| Methods Packagelaya.uiClasspublic class AutoBitmapInheritanceAutoBitmap Graphics Object AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Public Properties Hide Inherited Public Properties Show Inherited...
来源: Laya2.0_api 发布时间: 20190513
...背景 var maskArea:Sprite = new Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); guideContainer.addChild(maskArea); //绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); //...
来源: Laya_社区 发布时间: 20170315
...了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLine...
来源: Laya3.0_api 发布时间: 20231115
...接 提交 1 个回复 Laya_XS 赞同来自: sprite的示例,然后调用graphics去画个颜色,sprite不能直接设置颜色值 2018-04-10 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jcd404552157 相关问题 求问shader中的...
来源: Laya_社区 发布时间: 20180410
layaAir真的没办法做涂鸦板? 我用sp.graphics.drawLines方法做了个鼠标画线,确实是连续画的时间长了,就会很卡,在平板上尤其明显,画两三条线之后就不行了,没办法解决吗?用JS原生的画线方法怎么能加载我的内容上呢,我是...
来源: Laya_社区 发布时间: 20180510
...手机QQ浏览器或者手机Chrome浏览器的内存相差好几倍 关于graphics.drawPath手机端和PC端不一致的问题 手机游戏,一般做多大分辨率的呀?? 华为快游戏 问题状态 最新活动: 2017-02-03 02:13 浏览: 2088 关注: 1 人
来源: Laya_社区 发布时间: 20170201
... var blue:Sprite = new Sprite(); blue.graphics.drawRect(0, 0, 500, 500, "#004080"); blue.pos(150, 150); blue.size(500, 500); blue.on("click", this, onClick); Laya.stage.addChild(b...
来源: Laya_社区 发布时间: 20161122
...的外观模样,并设置typeRender为hit(代码曾操作:new一个Graphics示例,并添加到image内部) 3、另一只猩猩操作步骤一样 4、F12发布,在代码层为2只猩猩添加点击事件,这时候就只有猩猩的区域可点击了,也就没有透明区域也可以...
来源: Laya_社区 发布时间: 20161114
...); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -rectangle.y, rectangle.width, rectangle.height); hitArea.hit = graphic; skeleton.hitArea = hitArea; Laya.stage.graphics.drawRect(-rectangle.x, -rectangle.y, recta...
来源: Laya_社区 发布时间: 20171114
...相关的链接 提交 1 个回复 qian 赞同来自: 我们之后会提供graphics的渐变功能,但是目前还未实现,建议可以使用一张渐变背景图去替代,如果是动画效果的渐变,可以通过animation图集动画或者swf动画实现 2018-01-05 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20180105