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

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

1. laya.display.Graphics [ 100%]

...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

2. laya.display.cmd.FillBorderTextCmd [ 98%]

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

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

3. laya.display.cmd.StrokeTextCmd [ 98%]

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

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

4. laya.display.cmd.FillTextCmd [ 97%]

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

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

5. laya.display.Input [ 89%]

... EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本位置与用户点击输入时的文本位置有少许的偏差。 Public Properties Hide Inherite...

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

6. laya.display.css.TextStyle [ 86%]

...asspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By  align : String 表示使用此文本格式的文本段落的水平对齐方式。 TextStyle  asPassword : Boolean 指定文本字段是否是密码文本字段。 ...

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

7. laya.display.Text [ 86%]

...Dispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)...

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

8. laya.ui.TextArea [ 85%]

...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

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

9. laya.ui.Label [ 85%]

...tcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-o...

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

10. laya.ui.TextInput [ 82%]

...Subclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

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