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

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

1. laya.utils.FontInfo [ 100%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames FontInfoProperties | Methods Packagelaya.utilsClasspublic class FontInfoInheritanceFontInfo ObjectPublic Properties PropertyDefined By  _bold : Boolean = falseFontInfo  EMPTY : FontInfo[static] FontInfo  _family : St...

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

2. laya.display.cmd.FillTextCmd [ 90%]

...y  color : String 定义文本颜色,比如"#ff0000"。 FillTextCmd  font : String 定义字号和字体,比如"20px Arial"。 FillTextCmd  text : String 在画布上输出的文本。 FillTextCmd  textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillTex...

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

3. laya.display.Graphics [ 79%]

...组三角形 Graphics  fillBorderText(text:String, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign:String):FillBorderTextCmd 在画布上绘制“被填充且镶边的”文本。 Graphics  fillText(text:String, x:Number, y:Number, font:String, ...

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

4. laya.display.cmd.StrokeTextCmd [ 77%]

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

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

5. laya.display.cmd.FillBorderTextCmd [ 77%]

...olor : String 定义文本颜色,比如"#ff0000"。 FillBorderTextCmd  font : String 定义字体和字号,比如"20px Arial"。 FillBorderTextCmd  lineWidth : Number 镶边线条宽度。 FillBorderTextCmd  text : String 在画布上输出的文本。 FillBorderTextCmd  textAlign : Stri...

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

6. laya.utils.Utils [ 75%]

...相对于窗口左上角的transform。 Utils  measureText(txt:String, font:String):*[static] 测量文本在指定样式下的宽度、高度信息。 Utils  parseInt(str:String, radix:int = 0):int[static] 解析一个字符串,并返回一个整数。和JS原生的parseInt不同:如果str...

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

7. laya.net.Loader [ 71%]

...进制类型,加载完成后返回arraybuffer二进制数据。Loader  FONT : String = font[static] 位图字体类型,加载完成后返回BitmapFont,加载后,会根据文件名自动注册为位图字体。Loader  groupMap : Object[static] 资源分组对应表。Loader  HIERARCHY :...

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

8. laya.ui.AutoBitmap [ 68%]

...一组三角形 Graphics fillBorderText(text:String, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign:String):FillBorderTextCmd 在画布上绘制“被填充且镶边的”文本。 Graphics fillText(text:String, x:Number, y:Number, font:String, c...

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

9. laya.html.dom.HTMLDivElement [ 46%]

...是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10...

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

10. laya.ui.Label [ 45%]

... filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  font : String 文本的字体名称,以字符串形式表示。 默认值为:"Arial",可以通过Text.defaultFont设置默认字体。 如果运行时系统找不到设定的字体,则用系统默认的字体渲染文...

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