大约有 10 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
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
关于graphics.fillTexture,该api只能填充矩形的,请问有其他方法能填充圆形的吗? fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用该方法实现图片填充效果,但是目前需要用圆...
来源: Laya_社区 发布时间: 20201105
...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/dis...
来源: Laya3.0_api 发布时间: 20231115
...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Gra...
来源: Laya3.0_api 发布时间: 20231115
...ly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/display/Graphics.ts:54 Returns Graphics Accessors cmds get c...
来源: Laya3.0_api 发布时间: 20231115
...gn:String, underLine:int = 0):void 在画布上绘制文本。 Graphics fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及...
来源: laya_api 发布时间: 20170929
...ing, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics fillTexture(texture:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获...
来源: Laya2.0_api 发布时间: 20190513
...lign:String, underLine:int = 0):void 在画布上绘制文本。 Graphics fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽...
来源: laya_api 发布时间: 20170929
...tring, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics fillTexture(texture:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获...
来源: Laya2.0_api 发布时间: 20190513
...; charSp = Laya.Pool.getItemByClass("sprite",Laya.Sprite); charSp.graphics.fillTexture(this._imageData,charData.x,charData.y,charData.w,charData.h,"no-repeat",new Laya.Point(-charData.x,-charData.y)); charSp.size(charData.w,charData.h) charSp.scrollRect = new Laya.Rectangle(charData.x,charData.y,cha...
来源: Laya_社区 发布时间: 20161014