大约有 98 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0073 秒)
...宽高、渲染模式。 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
...一下。 ### 2.1 场景颜色(sceneColor) 场景颜色即场景编辑器背景颜色,可手动输入编码修改颜色,还可以从调色板修改如图3-1,3-2所示。  (图3-1)  (动图3-2) ### 2.2 场景销毁关闭设置(autoDestoryAtClosed) ...
来源: Laya2.0_文档 发布时间: 20210714
...一下。 ### 2.1 场景颜色(sceneColor) 场景颜色即场景编辑器背景颜色,可手动输入编码修改颜色,还可以从调色板修改如图3-1,3-2所示。  (图3-1)  (动图3-2) ### 2.2 场景销毁关闭设置(autoDestoryAtClosed) ...
来源: Laya2.0_文档 发布时间: 20210715
...一下。 ### 2.1 场景颜色(sceneColor) 场景颜色即场景编辑器背景颜色,可手动输入编码修改颜色,还可以从调色板修改如图3-1,3-2所示。  (图3-1)  (动图3-2) ### 2.2 场景销毁关闭设置(autoDestoryAtClosed) ...
来源: Laya2.0_文档 发布时间: 20210714
...设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...
来源: laya_api 发布时间: 20170929
...置游戏画布宽高。 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
...置游戏画布宽高。 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
...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheA...
来源: Laya2.0_api 发布时间: 20190513
...ited from 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 cacheA...
来源: Laya3.0_api 发布时间: 20231115
...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var radioGroup:RadioGroup = new RadioGroup();//创建一个 RadioGro...
来源: Laya3.0_api 发布时间: 20231115