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

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

1. Sprite-绘制各种形状 [ 100%]

...Poly(400, 166, [0, 100, 50, 0, 100, 100], "#ffff00"); //画圆 sp.graphics.drawCircle(98, 332, 50, "#00ffff"); //画扇形 sp.graphics.drawPie(240, 290, 100, 10, 60, "#00ffff"); //绘制圆角矩形,自定义路径 sp.graphics.drawPath(400, 310, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 11...

来源: Laya_示例 发布时间: 20251209

2. Sprite-绘制各种形状 [ 99%]

...Poly(400, 166, [0, 100, 50, 0, 100, 100], "#ffff00"); //画圆 sp.graphics.drawCircle(98, 332, 50, "#00ffff"); //画扇形 sp.graphics.drawPie(240, 290, 100, 10, 60, "#00ffff"); //绘制圆角矩形,自定义路径 sp.graphics.drawPath(400, 310, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 11...

来源: Laya2.0_示例 发布时间: 20251209

3. 绘制形状时事件不触发 [ 88%]

...   this.sprite.on('mousedown', this, on_down);     this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2);     this.sprite.graphics.drawCircle(x, y, r1, color1, color1, 0);     function on_down(event) {         console.log("_____ kbRing2\n");     } } function laya_test() {     ...

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

4. laya.ui.AutoBitmap [ 86%]

...示。 Graphics  destroy():void[override] 销毁此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制...

来源: laya_api 发布时间: 20170929

5. laya.ui.AutoBitmap [ 86%]

...示。 Graphics  destroy():void[override] 销毁此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):Draw...

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

6. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 85%]

...以查看到API的各种矢量绘图方法。 drawRect fillText drawPath drawCircle drawPie drawLine drawLines drawPoly drawCurves ...... 下面将对这些Graphics进行讲解。 二、绘制矩形与圆角矩形 2.1 IDE绘制矩形 在Sprite对象的 Graphics 组件中,可以通过点击 + 来...

来源: Laya3.0_文档 发布时间: 20251010

7. Graphics 怎么画 环形 [ 83%]

...17-11-09 0 0 分享 微博 QZONE 微信 gggg1010 赞同来自: sp.graphics.drawCircle(x, y, radius, null, "#FF0000", 5) 2019-07-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 rt1223103 相关问题 有没有环形倒计时的demo 可...

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

8. laya.ani.GraphicsAni_API3.0 [ 79%]

...ors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save sc...

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

9. laya.display.Graphics [ 79%]

...标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics  drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制...

来源: laya_api 发布时间: 20170929

10. laya.display.Graphics_API3.0 [ 77%]

...ors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save sc...

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