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

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

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

...ya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,...

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

2. laya.ui.AutoBitmap_API3.0 [ 99%]

...lass AutoBitmap AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods ...

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

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

...display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移量。 width: number 宽度。 height: number 高度。 Returns ClipRectCmd destroy destroy(): void Inherited from Graphics.destroy Defined in laya/display...

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

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

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

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

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

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

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

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

...ported Menu Globals "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%]

...rline underline: boolean Defined in laya/display/css/TextStyle.ts:20 是否显示下划线 underlineColor underlineColor: string Defined in laya/display/css/TextStyle.ts:22 下划线颜色 valign valign: string Defined in laya/display/css/TextStyle.ts:34 表示使用此文本格式的文本段落的...

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

8. laya.ui.TextInput_API3.0 [ 70%]

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

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

9. laya.ui.TextArea_API3.0 [ 70%]

...Globals "laya/ui/TextArea" TextArea Class TextArea TextArea 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Ex...

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

10. laya.ui.Button_API3.0 [ 61%]

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

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