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

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

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

...lay/BitmapFont.ts:20 当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。 letterSpacing letterSpacing: number = 0 Defined in laya/display/BitmapFont.ts:26 lineHeight lineHeight: number = 12 Defined in laya/di...

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

2. laya.ui.Label_API3.0 [ 73%]

...ss Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 lab...

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

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

...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...

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

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

...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

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

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

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...

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

6. laya.display.Text_API3.0 [ 57%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 example package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "...

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

7. laya.ui.ComboBox_API3.0 [ 41%]

...boBox_Example { public function ComboBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...

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

8. laya.events.Event_API3.0 [ 35%]

...urrentTarget: any, target: any): Event Defined in laya/events/Event.ts:208 设置事件数据。 Parameters type: string 事件类型。 currentTarget: any 事件目标触发对象。 target: any 事件当前冒泡对象。 Returns Event 返回当前 Event 对象。 stopPropagation stopPropagation()...

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

9. laya.html.dom.HTMLDivElement_API3.0 [ 34%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

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