大约有 107 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0033 秒)
Laya_社区(79) Laya3.0_api(6) Laya_示例(5) Laya2.0_示例(5) Laya2.0_文档(4) Laya2.0_api(4) laya_api(2) Laya3.0_文档(2)
layaAir真的没办法做涂鸦板? 我用sp.graphics.drawLines方法做了个鼠标画线,确实是连续画的时间长了,就会很卡,在平板上尤其明显,画两三条线之后就不行了,没办法解决吗?用JS原生的画线方法怎么能加载我的内容上呢,我是...
来源: Laya_社区 发布时间: 20180510
...d 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 scale strokeText transform translate create re...
来源: Laya3.0_api 发布时间: 20231115
...图性能选择( graphics.clear vs repaint) 求教:需要大量的 drawline,drawlines 不断反复重新绘图,是选择 graphics.clear后重绘, 还是选择重置 points,然后 repaint? 2020-04-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20200402
...d 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 scale setState strokeText transform translate ...
来源: Laya3.0_api 发布时间: 20231115
.../ 256.0) * 50;for (var j:int = 0; j < energy; j++) {Laya.stage.graphics.drawLine(20 * i + 2, 200 + 4 * j,20 * (i + 1) - 2, 200 + 4 * j,"#ff0000",1);Laya.stage.graphics.drawLine(20 * i + 2, 200 - 4 * j,20 * (i + 1) - 2, 200 - 4 * j,"#ffff00",1);}Laya.stage.graphics.drawLine(20 * i + 2, 200,20 * (i...
来源: Laya_社区 发布时间: 20181023
...2.png"); characterB.pivot(34, 50); characterB.y = 250; Laya.stage.graphics.drawLine(terminalX, 0, terminalX, Laya.stage.height, "#FFFFFF"); // characterA使用Tween.to缓动 Tween.to(characterA, { x: terminalX }, 1000); // characterB使用Tween.from缓动 characterB.x = terminalX; Tween.from(charact...
来源: Laya_示例 发布时间: 20241119
...d 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 scale strokeText transform translate Construct...
来源: Laya3.0_api 发布时间: 20231115
...2.png"); characterB.pivot(34, 50); characterB.y = 250; Laya.stage.graphics.drawLine(terminalX, 0, terminalX, Laya.stage.height, "#FFFFFF"); // characterA使用Tween.to缓动 Tween.to(characterA, { x : terminalX }, 1000); // characterB使用Tween.from缓动 characterB.x = terminalX; Tween.from(charac...
来源: Laya2.0_示例 发布时间: 20241119
...? sp = new Sprite(); Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000", 3); //画连续直线 sp.graphics.drawLines(176, 58, [0, 0, 39, -50, 78, 0, 117, 50, 156, 0], "#ff0000", 5); //画曲线 sp.graphics.drawCurves(352, 58, [0, 0, 19, -100, 39, 0, 58, 100, 78,...
来源: Laya_社区 发布时间: 20190530
...; break; } index++; } let firstlineY = words[0].y+words[0].height; graphic.drawLine(words[0].x,firstlineY,words[slsIndex].x+words[slsIndex].width,firstlineY,color,1); let secondLineY = words[slsIndex+1].y + words[slsIndex+1].height; graphic.drawLine(words[slsIndex+1].x,secondLineY,lastWords.x+lastWo...
来源: Laya_社区 发布时间: 20190611