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

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

1. graphics颜色填充fillColor问题 [ 100%]

...数描述是这样写的 “fillColor 填充颜色,或者填充绘图渐变对象“, 请问这里的渐变对象是什么类型? 能否举个例子说明一下。   另外现在是不是不支持用纹理填充图形的功能? 2016-07-25 添加评论 免费帖 --> 分享 微博 QZONE ...

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

2. Graphics如何设置fillStyle和strokeStyle不同透明度 [ 96%]

...        * @param fillColor    填充颜色,或者填充绘图渐变对象。          * @param lineColor    (可选)边框颜色,或者填充绘图渐变对象。          * @param lineWidth    (可选)边框宽度。          */         public...

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

3. layaFlash关于Graphics绘图 [ 94%]

...aphics画线时有严重锯齿 graphics画出来的图形如何实现颜色渐变 graphics drawTexture怎么围绕纹理锚点旋转? graphics drawTexture怎么围绕纹理锚点旋转? Laya场景编辑时加入的Graphics组件,代码中该如何获取? 遇到个很奇怪的问题,不同...

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

4. 如何实现渐变填充对象呀? [ 93%]

如何实现渐变填充对象呀? 请问LayaAir如何绘制一个渐变矩形? this.graphics.drawRect(0, 0, 500, 350, "#ffffff") drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,或者填...

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

5. 请问LayaAir如何绘制一个渐变矩形? [ 92%]

请问LayaAir如何绘制一个渐变矩形? 请问LayaAir如何绘制一个渐变矩形? this.graphics.drawRect(0, 0, 500, 350, "#ffffff") drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,...

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

6. 如何在代码中new Poly [ 88%]

...        * @param fillColor    填充颜色,或者填充绘图渐变对象。          * @param lineColor    (可选)边框颜色,或者填充绘图渐变对象。          * @param lineWidth    (可选)边框宽度。          */         public...

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

7. 分享一个Graphics画圆角矩形的封装 [ 85%]

...          * @param fillColor 填充颜色,或者填充绘图渐变对象。          * @param lineColor (可选)边框颜色,或者填充绘图渐变对象。          * @param lineWidth (可选)边框宽度。          */         drawRound...

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

8. graphics如何实现橡皮擦效果 [ 84%]

...rray.jas ->readMultiByte对gb2312的实现翻译 Tween没效果,对于渐变相机位移? dialog 自定义关闭效果,效果执行完,弹窗无法关闭 Layabox如何实现本地存储 屏幕适配怎样实现铺满全屏,又不被拉伸? 怎么实现同一个工程内分包? 问...

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

9. Graphics 怎么画 环形 [ 73%]

...么围绕纹理锚点旋转? graphics画出来的图形如何实现颜色渐变 graphics持续绘制扇形问题 graphics drawTexture怎么围绕纹理锚点旋转? Laya场景编辑时加入的Graphics组件,代码中该如何获取? 如何降低graphics绘制产生的drawcall 图片的graph...

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