大约有 1,772 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1393) laya_api(90) Laya3.0_api(82) Laya2.0_api(72) Laya2.0_文档(59) Laya_示例(33) Laya2.0_示例(32) Laya3.0_文档(11)
...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
... VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位置、法线、纹理顶点结构。 Public ...
来源: laya_api 发布时间: 20170929
...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
...现转圈进度条的效果 this.mMask.graphics.clear(); Laya.timer.loop(10,this,this.showMask); public showMask():void { this.mMask.graphics.clear(); this.mMas...
来源: Laya_社区 发布时间: 20171101
...= 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
...形 ### 一、用drawRect方法绘制矩形 在API中搜索`laya.display.Graphics`类可以查看到该API的各种矢量绘图方法。其中"drawRect();"方法用于绘制矢量矩形。该方法的详细说明如下图所示:  (图1) 下面我们用LayaAir引擎...
来源: Laya2.0_文档 发布时间: 20210715
...名字返回类对象。 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
...x | Frames No Frames VertexParticleProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexParticleInheritanceVertexParticle ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By ageAddScale : Number[re...
来源: laya_api 发布时间: 20170929
...用法 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
...形 ### 一、用drawRect方法绘制矩形 在API中搜索`laya.display.Graphics`类可以查看到该API的各种矢量绘图方法。其中"drawRect();"方法用于绘制矢量矩形。该方法的详细说明如下图所示:  (图1) 下面我们用LayaAir引...
来源: Laya2.0_文档 发布时间: 20210715