大约有 19 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0034 秒)
...能看,不能编辑修改的基础文本。LayaAirIDE中提供了Text、FillText、Label这三种基础的显示文本组件。 #### 1.1、文本的底层渲染机制 LayaAir引擎在文本的底层渲染上,有两种方式。 分别是Text文本类的文本统一提交方式,和Graphics类的...
来源: Laya2.0_文档 发布时间: 20210715
...。 分别是Text文本类的文本统一提交方式,和Graphics类的fillText文本单字符绘制提交方式。 如果采用了Text文本,那每一个Text文本对象中的文本字符会一起形成小图集提交到大图合集中,比如游戏中某个文本对象有300字,其中一个...
来源: Laya3.0_文档 发布时间: 20241014
...ie drawPoly 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/di...
来源: Laya3.0_api 发布时间: 20231115
...ie drawPoly 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...
来源: Laya3.0_api 发布时间: 20231115
...ie drawPoly 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 c...
来源: Laya3.0_api 发布时间: 20231115
...I DocumentationAll Packages | All Classes | Index | Frames No Frames FillTextCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class FillTextCmdInheritanceFillTextCmd Object 绘制文字 Public Properties PropertyDefined By color : String 定义文本颜色,比如...
来源: Laya2.0_api 发布时间: 20190513
...TextureWithTransform drawTriangles fillBorderText fillBorderWords fillRect fillText fillWords fillWords11 filltext11 flush getAlignLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRender...
来源: Laya3.0_api 发布时间: 20231102
...ected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextCmd" FillTextCmd Class FillTextCmd 绘制文字 Hierarchy FillTextCmd Index Properties x y ID Accessors align color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/displa...
来源: Laya3.0_api 发布时间: 20231115
...y) { } public static drawText(sp: Laya.Sprite, text: string) { sp.graphics.fillText(text, 0, -20, "20px Arial", "#000000", "center"); } Laya_Aaron • 2018-02-11 15:58 你是如何进行缩放的呢,我缩放了sp 边框也跟着变小 a1748004424 • 2018-02-11 16:41...
来源: Laya_社区 发布时间: 20180211
...g):void 在画布上绘制“被填充且镶边的”文本。 Graphics fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String, underLine:int = 0):void 在画布上绘制文本。 Graphics fillTexture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Numb...
来源: laya_api 发布时间: 20170929