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

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

91. laya.display.Stage [ 33%]

...rue,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象...

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

92. laya.display.Input_API3.0 [ 32%]

...rom Text.borderColor Defined in laya/display/Text.ts:576 文本边框背景颜色,以字符串表示。 Returns string Inherited from Text.borderColor Defined in laya/display/Text.ts:580 文本边框背景颜色,以字符串表示。 Parameters value: string Returns void cacheAs get cacheAs(): s...

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

93. laya.ui.List [ 31%]

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

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

94. laya.ui.Button_API3.0 [ 31%]

...戏画布宽高。 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("resource/ui/...

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

95. laya.ui.CheckBox_API3.0 [ 31%]

...戏画布宽高。 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("resourc...

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

96. laya.ui.Label_API3.0 [ 31%]

...、渲染模式。 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

97. laya.ui.Radio_API3.0 [ 29%]

...、渲染模式。 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("resource/ui/button.png","labe...

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

98. laya.ui.RadioGroup_API3.0 [ 29%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGroup 类...

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

99. laya.ui.Tab_API3.0 [ 29%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();//创建一个 Tab 类的实例对象 tab 。 tab.sk...

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

100. laya.display.Stage [ 27%]

...rue,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象...

来源: laya_api 发布时间: 20170929