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

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

1. laya.display.Graphics [ 100%]

...umber, textAlign:String):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:N...

来源: laya_api 发布时间: 20170929

2. laya.display.Graphics [ 99%]

...ign:String):FillBorderTextCmd 在画布上绘制“被填充且镶边的”文本。 Graphics  fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics  fillTexture(texture:Texture, x:Number, y:Number, width:Number = ...

来源: Laya2.0_api 发布时间: 20190513

3. laya.display.Graphics_API3.0 [ 99%]

... laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边的”文本。 Parameters text: string | WordText 在画布上输出的文本。 x: number 开始绘制文本的 x 坐标位置(相对于画布)。 y: number 开始绘制文本的 y 坐标位置(相对于画布)。 font: s...

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

4. laya.ani.GraphicsAni_API3.0 [ 98%]

... laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边的”文本。 Parameters text: string | WordText 在画布上输出的文本。 x: number 开始绘制文本的 x 坐标位置(相对于画布)。 y: number 开始绘制文本的 y 坐标位置(相对于画布)。 font: s...

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

5. laya.ui.AutoBitmap_API3.0 [ 98%]

... laya/display/Graphics.ts:332 在画布上绘制“被填充且镶边的”文本。 Parameters text: string | WordText 在画布上输出的文本。 x: number 开始绘制文本的 x 坐标位置(相对于画布)。 y: number 开始绘制文本的 y 坐标位置(相对于画布)。 font: s...

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

6. 绘制图形 · LayaAir3.0文档 · LAYABOX [ 88%]

...1 贝塞尔曲线的基础6.2 代码绘制二次贝塞尔曲线七、绘制文本7.1 IDE绘制文本7.2 代码绘制文本八、绘制填充纹理8.1 IDE绘制填充纹理8.2 代码绘制填充纹理九、绘制九宫格纹理9.1 IDE绘制九宫格纹理9.2 代码绘制九宫格纹理十、消除矢...

来源: Laya3.0_文档 发布时间: 20231129

7. laya.display.cmd.FillBorderTextCmd [ 85%]

...asspublic class FillBorderTextCmdInheritanceFillBorderTextCmd Object 绘制文本边框 Public Properties PropertyDefined By  borderColor : String 定义镶边文本颜色。 FillBorderTextCmd  fillColor : String 定义文本颜色,比如"#ff0000"。 FillBorderTextCmd  font : String 定义...

来源: Laya2.0_api 发布时间: 20190513

8. laya.display.cmd.StrokeTextCmd [ 85%]

...描边文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd  font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd  lineWidth : Number 线条宽度。 StrokeTextCmd  text : String 在画布上输出的文本。 ...

来源: Laya2.0_api 发布时间: 20190513

9. laya.display.cmd.FillTextCmd [ 84%]

...绘制文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 FillTextCmd  font : String 定义字号和字体,比如"20px Arial"。 FillTextCmd  text : String 在画布上输出的文本。 FillTextCmd  textAlign : String 文本对齐方式,...

来源: Laya2.0_api 发布时间: 20190513

10. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 80%]

...功能说明 | | ----------- | -------------------------------- | | text | 文本内容字符串。 | | align | 文本的水平对齐方式。可选值有left、center、right。 | | valign | 文本的垂直对齐方式。可选值有top、middle、bottom。 | | color | 文本的颜色值。默认...

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