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

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

1. Graphics如何设置fillStyle和strokeStyle不同透明[ 100%]

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

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

2. laya.display.Graphics [ 90%]

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

来源: laya_api 发布时间: 20170929

3. sprite的mask有办法做出羽化渐变的效果吗 [ 86%]

...相关的链接 提交 1 个回复 qian 赞同来自: 我们之后会提供graphics渐变功能,但是目前还未实现,建议可以使用一张渐变背景图去替代,如果是动画效果的渐变,可以通过animation图集动画或者swf动画实现 2018-01-05 0 0 分享 微博 QZON...

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

4. laya.display.Graphics [ 85%]

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

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

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

...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 [ 81%]

...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. 如何画一条渐变的线呢? [ 80%]

...标在页面上画一条线,跪求给点思路! 有没有办法获取Graphics画的一条线(或者曲线的)的坐标数组 为什么移动的时候,有时候会有一条的透明图片在闪屏 laya有没有引导线动画呢?让一个元素沿着一条线移动,最好能旋转角度...

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

8. laya.ui.AutoBitmap_API3.0 [ 79%]

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

9. graphics如何实现橡皮擦效果 [ 76%]

graphics如何实现橡皮擦效果 // 增加一个容器 var box = new Sprite(); // 设置容器为画布缓存 box.cacheAs = "bitmap"; this.layCanvas.addChild(box); // 绘制红色方块 var red = new Sprite(); red.graphics.drawRect(0, 0, 150, 150, "#ff0000"); box.addChild(red); // 绘制一个...

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

10. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 63%]

...         _proto.setGradientText = function () {             this.graphics.clear();             let data = '';             data += 'data:image/svg+xml,' + '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" ';             da...

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