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

大约有 49 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)

1. graphics画出来的图形如何实现颜色渐变 [ 100%]

graphics画出来的图形如何实现颜色渐变 我用sprite.graphics.drawPoly画多边形,怎么实现颜色渐变,而非纯色 2018-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同...

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

2. 请问如果想实现文字颜色渐变, Laya graphics支持通过createLinearGradient设置fillStlye吗? [ 99%]

请问如果想实现文字颜色渐变, Laya graphics支持通过createLinearGradient设置fillStlye吗? 请问如果想实现文字颜色渐变, Laya graphics支持通过createLinearGradient设置fillStlye吗? 如果不支持, 还有其他方式实现吗? 2016-11-01 添加评论 免费帖 --> 分...

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

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

Graphics如何设置fillStyle和strokeStyle不同透明度 请问如果实现一个填充半透明而边框不透明的圆角矩形的绘制呢? 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 w111436...

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

4. graphics颜色填充fillColor问题 [ 93%]

graphics颜色填充fillColor问题 在api文档里看到 fillColor 的参数描述是这样写的 “fillColor 填充颜色,或者填充绘图的渐变对象“, 请问这里的渐变对象是什么类型? 能否举个例子说明一下。   另外现在是不是不支持用纹理填充图...

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

5. laya.display.Graphics_API3.0 [ 93%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对...

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

6. laya.ani.GraphicsAni_API3.0 [ 93%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage dra...

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

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

...变填充对象呀? 请问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

8. laya.display.Graphics [ 91%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics ObjectSubclasses AutoBitmap, GraphicsGL Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者...

来源: laya_api 发布时间: 20170929

9. laya.ui.AutoBitmap_API3.0 [ 91%]

...了位置,宽高及九宫格的处理,供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

10. laya.display.Graphics [ 90%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save...

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