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

大约有 157 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)

121. laya.ui.Tree [ 42%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheA...

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

122. laya.display.Input [ 42%]

...设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

来源: laya_api 发布时间: 20170929

123. laya.ui.Tree_API3.0 [ 42%]

...e() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "...

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

124. 物理引擎显示旋转问题 [ 42%]

...#00ff00', //当wireframes为true的时候,wireframeBackground可以设置背景颜色                 showAngleIndicator: true, //角度指示器                 width: 750,                 height: document.body.scrollHeight * window.devicePixelRatio...

来源: Laya_社区 发布时间: 20180323

125. laya.display.Text_API3.0 [ 42%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text ...

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

126. laya.display.Stage_API3.0 [ 41%]

...bgColor(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode():...

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

127. laya.ui.Button_API3.0 [ 41%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resour...

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

128. laya.ui.CheckBox_API3.0 [ 41%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var checkBox:CheckBox = new CheckBox("r...

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

129. laya.display.Animation_API3.0 [ 41%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载...

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

130. laya.ui.Label_API3.0 [ 40%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显...

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