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

大约有 1,739 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

11. 畫環形倒計時,一個關於Graphics的問題 [ 99%]

畫環形倒計時,一個關於Graphics的問題 如圖所示,大概到最後兩秒環形位置被重繪錯了。算法檢查了沒問題,在AS3里運行都是正常的。 請幫忙看看是不是Graphics的問題。   附件 : --> CountDown.zip 2016-09-27 添加评论 免费帖 --> 分享 ...

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

12. laya.d3.graphics.VertexElementFormat_API3.0 [ 99%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Sh...

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

13. 如何清除graphics绘制的矢量图 [ 99%]

如何清除graphics绘制的矢量图             let count1 = 1;             Laya.timer.loop(3000, this, function () {                 sp.graphics.clear();                 if (count1 == 0) {                     sp.graphic...

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

14. graphics透明度设置详细步骤 [ 98%]

graphics透明度设置详细步骤 调整一个graphics的透明度需要4个步骤 save;alpha;draw;restore;  比如://画一个半透明屎黄色区域 this.graphics.save(); this.graphics.alpha(0.5); this.graphics.drawRect(-40, -110, 80, 110, "#ffcc00"); this.graphics.restore(); //再画一...

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

15. sprite里面绘图对象为什么有两个呢 _graphicsgraphics,这有什么区别吗 [ 98%]

sprite里面绘图对象为什么有两个呢 _graphicsgraphics,这有什么区别吗 如题?没太看明白 2017-01-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 建议用grap...

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

16. laya.ui.AutoBitmap_API3.0 [ 98%]

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

17. laya.d3.graphics.vertex.VertexMesh_API3.0 [ 98%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/Vertex/VertexMesh" VertexMesh Class VertexMesh ... author ... Hierarchy VertexMesh Index Properties MESH_BLENDINDICES0 MESH_BLENDWEIGHT0 MESH_COLOR0 MESH_CUSTOME0 MESH_CUSTOME1 MESH_CUSTOME2 MESH_CUSTOME3 MESH_NORMAL...

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

18. graphics的fillTexture 圆角图边缘有多出线条 [ 98%]

graphics的fillTexture 圆角图边缘有多出线条 var texture = LoadingManager.instance.getRes("res/progress.png"); var graphics=new Laya.Graphics(); graphics.fillTexture(texture,0,0,texture.width,texture.height,"repeat"); 如果用drawTexture就没问题,因为平铺需求 需要用到fillTe...

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

19. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 98%]

关于graphics镂空的问题https://ask.layabox.com/question/139 https://ask.layabox.com/question/139 贴上说镂空问题已经解决,但我还是遇到同样的问题,我使用的是layaair1.7.5,求教。 2017-07-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

20. laya.display.Graphics_API3.0 [ 98%]

...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