大约有 107 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0181 秒)
Laya_社区(79) Laya2.0_文档(11) Laya3.0_文档(4) Laya_示例(3) Laya3.0_api(3) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
... var mask = new Sprite(); mask.graphics.drawCircle(50,50,50,"#00ffff") imgSprite.mask = mask; var circleLine = new Sprite(); circleLine.graphics.drawCircle(50,50,52,null,"#cb9a52",2...
来源: Laya_社区 发布时间: 20170209
... 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
...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
...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
...11 15:44 public static SymbolRoot(sp: Laya.Sprite, cfg: any) { sp.graphics.drawCircle(0, 0, 20, "#ffffff", "#000000", 3); sp.graphics.drawLine(-20, -20, 20, 20, "#000000", 3); } public static SymbolSeq(sp: Laya.Sprite, cfg: any) { sp.graphics.drawLine(-20, 0, 20, 0, &qu...
来源: Laya_社区 发布时间: 20180211
...r height sizeGrid source width 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
...ionIndicator); directionIndicator.alpha = 0.8; directionIndicator.graphics.drawCircle(0, 0, 70, "#343434"); directionIndicator.graphics.drawLine(-40, 0, 40, 0, "#FFFFFF", 3); directionIndicator.graphics.drawLine(0, -40, 0, 40, "#FFFFFF", 3); directionIndicator.x = compassImg.x; directionIndicator.y ...
来源: Laya_示例 发布时间: 20251209
...ionIndicator); directionIndicator.alpha = 0.8; directionIndicator.graphics.drawCircle(0, 0, 70, "#343434"); directionIndicator.graphics.drawLine(-40, 0, 40, 0, "#FFFFFF", 3); directionIndicator.graphics.drawLine(0, -40, 0, 40, "#FFFFFF", 3); directionIndicator.x = compassImg.x; directionIndicator.y ...
来源: Laya2.0_示例 发布时间: 20251209
...,即可方便的通过LayaAir引擎laya.display.Graphics这个API的“drawCircle();”方法实现。该方法的详细说明如下图所示:  (图1) 下面我们用LayaAir引擎绘制一个圆形,示例代码如下: ```javascript (function() { var...
来源: Laya2.0_文档 发布时间: 20210715
...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