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

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

291. 关于环形进度条,进度不能重置问题 [ 86%]

...is.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); this.circle = new Sprite(); this.circle.graphics.drawCircle(this.say.width/2, this.say.height/2, this.say.width/2, "#00ffff");...

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

292. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 86%]

... VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位置、法线、纹理顶点结构。 Public ...

来源: laya_api 发布时间: 20170929

293. 请问一下,怎么将下面这段AS3代码翻译成LayaAir的API [ 86%]

...ix()); var matrix:Matrix = new Matrix(); matrix.rotate(Math.PI/4); sprite_.graphics.beginBitmapFill(bitmap_, matrix, true); sprite_.graphics.drawRect(100, 50, 200, 90); sprite_.graphics.endFill(); addChild(sprite_); 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

294. webgl遮罩的BUG [ 86%]

...现转圈进度条的效果                   this.mMask.graphics.clear();                 Laya.timer.loop(10,this,this.showMask);         public showMask():void         {             this.mMask.graphics.clear();            this.mMas...

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

295. 鼠标交互-修正交互区域 [ 86%]

...= Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(Laya.stage.width, Laya.stage.height / 2); Laya.stage.addChild(coralRect); coralRec...

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

296. 绘制矩形与圆角矩形(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 85%]

...形 ### 一、用drawRect方法绘制矩形 在API中搜索`laya.display.Graphics`类可以查看到该API的各种矢量绘图方法。其中"drawRect();"方法用于绘制矢量矩形。该方法的详细说明如下图所示: ​ ![图片](img/1.png) ​ (图1) 下面我们用LayaAir引擎...

来源: Laya2.0_文档 发布时间: 20210715

297. laya.utils.ClassUtils [ 85%]

...名字返回类对象。 ClassUtilsPublic Methods  MethodDefined By  addGraphicsToSprite(graphicO:Object, sprite:Sprite):void[static] 将graphic对象添加到Sprite上 ClassUtils  addGraphicToSprite(graphicO:Object, sprite:Sprite, isChild:Boolean = false):void[static] 将graphic绘图指令添...

来源: laya_api 发布时间: 20170929

298. laya.d3.graphics.VertexParticle [ 85%]

...x | Frames No Frames VertexParticleProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexParticleInheritanceVertexParticle ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By  ageAddScale : Number[re...

来源: laya_api 发布时间: 20170929

299. viewport 的用法 [ 85%]

...用法  var Sprite = Laya.Sprite;   var HitArea = Laya.HitArea;   var Graphic = Laya.Graphics;   var Event   = Laya.Event;   var Layer = Laya.Layer;   var Rectangle = Laya.Rectangle;   function layaSlot(info){       layaSlot.__super.call(this);       this.size(200,200);       this.g...

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

300. 绘制矩形与圆角矩形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 85%]

...形 ### 一、用drawRect方法绘制矩形 在API中搜索`laya.display.Graphics`类可以查看到该API的各种矢量绘图方法。其中"drawRect();"方法用于绘制矢量矩形。该方法的详细说明如下图所示: ​ ![blob.png](img/1.png) ​ (图1) 下面我们用LayaAir引...

来源: Laya2.0_文档 发布时间: 20210715