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

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

1. laya.display.css.TextStyle_API3.0 [ 100%]

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

2. laya.display.Text_API3.0 [ 86%]

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

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

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

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

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

4. laya.display.Input_API3.0 [ 83%]

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

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

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

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

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

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

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

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

7. laya.ui.Button_API3.0 [ 49%]

...on Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.util...

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

8. laya.ui.CheckBox_API3.0 [ 49%]

...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; i...

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

9. laya.ui.Radio_API3.0 [ 47%]

...void Inherited from Button.label Defined in laya/ui/Button.ts:425 按钮的文本内容。 Returns string Inherited from Button.label Defined in laya/ui/Button.ts:429 按钮的文本内容。 Parameters value: string Returns void labelAlign get labelAlign(): string set labelAlign(value: string): voi...

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

10. laya.ui.VBox_API3.0 [ 37%]

...Defined in laya/ui/UIComponent.ts:281 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.tool...

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