大约有 67 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0056 秒)
... 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默认值为 "#000000"(黑色); UIGroup layoutEnabled : Boolean = true 是否启用相对布局 Component left : Number 从组件左边到其内容区域左边之间的水平距离(以像...
来源: laya_api 发布时间: 20170929
...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...
来源: laya_api 发布时间: 20170929
...体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标签的边距...
来源: laya_api 发布时间: 20170929
...点后,输入的内容都是蓝色的字,失去焦点后变回设置的颜色,而整个流程中我并没有设置过蓝色字。import { ui } from "../../ui/layaMaxUI"; import GameData from "../game/GameData"; import IHttpResponse from "../../network/interfaces/IHttpResponse"; import Notice f...
来源: Laya_社区 发布时间: 20200410
...ndex 为0。再设置其他属性中的字体大小、粗体、字体状态颜色等。 显示效果如图6所示:  (图6) ## 3、通过代码控制ViewStack组件切换显示 在上面几个制作步骤中,我们完成了在IDE里的组件创建与...
来源: Laya2.0_文档 发布时间: 20210714
...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