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

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

1. laya.display.cmd.FillTextCmd_API3.0 [ 100%]

...文字 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/display/cmd/FillTextCmd.ts:19 开始绘制文本的 x 坐标位置(相对于画布)。 y y: number = 0 Defined in laya/display...

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

2. laya.utils.FontInfo_API3.0 [ 98%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/utils/FontInfo" FontInfo Class FontInfo Hierarchy FontInfo Index Constructors constructor Methods setFont parse Constructors constructor new FontInfo(font: string | null): FontInfo Defined in laya/utils/FontInfo.ts:31 Parameters fo...

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

3. laya.display.css.TextStyle_API3.0 [ 93%]

...archy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new TextStyle(): TextStyle Defined in laya/display/css/TextStyle.ts:53 Returns TextStyle Properties align ...

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

4. laya.display.Graphics_API3.0 [ 74%]

...llBorderText fillBorderText(text: string | WordText, x: number, y: number, font: string, fillColor: string, textAlign: string, lineWidth: number, borderColor: string): FillTextCmd Defined in laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边的”文本。 Parameters text: string |...

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

5. laya.ani.GraphicsAni_API3.0 [ 73%]

...llBorderText fillBorderText(text: string | WordText, x: number, y: number, font: string, fillColor: string, textAlign: string, lineWidth: number, borderColor: string): FillTextCmd Inherited from Graphics.fillBorderText Defined in laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边...

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

6. laya.ui.AutoBitmap_API3.0 [ 71%]

...llBorderText fillBorderText(text: string | WordText, x: number, y: number, font: string, fillColor: string, textAlign: string, lineWidth: number, borderColor: string): FillTextCmd Inherited from Graphics.fillBorderText Defined in laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边...

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

7. laya.net.Loader_API3.0 [ 66%]

...ructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ATLAS BUFFER FONT HIERARCHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoad...

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

8. laya.resource.NativeContext_API3.0 [ 64%]

...urns void drawText drawText(text: string | WordText, x: number, y: number, font: string, color: string, align: string): void Defined in laya/resource/NativeContext.ts:636 Parameters text: string | WordText x: number y: number font: string color: string align: string Returns void drawTexture drawText...

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

9. laya.ui.TextInput_API3.0 [ 54%]

...extInput.color = "#008fff";//设置 textInput 的文本颜色。 textInput.font = "Arial";//设置 textInput 的文本字体。 textInput.bold = true;//设置 textInput 的文本显示为粗体。 textInput.fontSize = 30;//设置 textInput 的字体大小。 textInput.wordWrap = true;//设置 textIn...

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

10. laya.ui.TextArea_API3.0 [ 53%]

... textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本显示为粗体。 textArea.fontSize = 20;//设置 textArea 的文本字体大小。 textArea.wordWrap = true;//设置 textArea 的...

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