大约有 71 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
...ndex 为0。再设置其他属性中的字体大小、粗体、字体状态颜色等。 显示效果如图6所示:  (图6) ## 3、通过代码控制ViewStack组件切换显示 在上面几个制作步骤中,我们完成了在IDE里的组件创建与...
来源: Laya2.0_文档 发布时间: 20210715
...ndex 为0。再设置其他属性中的字体大小、粗体、字体状态颜色等。 显示效果如图6所示:  (图6) ## 3、通过代码控制ViewStack组件切换显示 在上面几个制作步骤中,我们完成了在IDE里的组件创建与...
来源: Laya2.0_文档 发布时间: 20210715
...戏画布宽高。 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
...戏画布宽高。 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
...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...
来源: Laya2.0_api 发布时间: 20190513
...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...
来源: Laya2.0_api 发布时间: 20190513
...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...
来源: Laya2.0_api 发布时间: 20190513
...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...
来源: Laya2.0_api 发布时间: 20190513
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resour...
来源: 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();//创建一个 RadioGroup 类...
来源: Laya3.0_api 发布时间: 20231115