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

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

1. laya.display.Graphics_API3.0 [ 100%]

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

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

2. laya.ani.GraphicsAni_API3.0 [ 99%]

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

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

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

4. laya.display.Text_API3.0 [ 79%]

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

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

5. laya.display.Input_API3.0 [ 73%]

...nput" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Hierarchy Text Input Index Cons...

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

6. laya.ui.Label_API3.0 [ 72%]

...laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模...

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

7. laya.display.css.TextStyle_API3.0 [ 71%]

...ported Menu Globals "laya/display/css/TextStyle" TextStyle Class TextStyle 文本的样式类 Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new Text...

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

8. Laya_API3.0 [ 68%]

...ned in Laya.ts:66 微信小游戏是否需要在主域中自动将加载的文本数据自动传递到子域,默认 false Static loader loader: Loader = null Defined in Laya.ts:58 加载管理器的引用。 Static stage stage: Stage = null Defined in Laya.ts:49 舞台对象的引用。 Static tim...

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

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

...put Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_E...

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

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

...tArea Class TextArea TextArea 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);...

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