大约有 65 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0102 秒)
...体字。 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
...情况: · 文本始终只有一行。 · 文本的样式始终不变(颜色、粗细、斜体、对齐等等)。 即使如此,实际编程中依旧会经常使用到这样的需要。 三、减少CPU使用量 3.1 减少动态属性查找 JavaScript中任何对象都是动态的,你可以...
来源: Laya3.0_文档 发布时间: 20231008
...戏画布宽高。 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
...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...
来源: Laya3.0_文档 发布时间: 20240918
...、渲染模式。 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
...戏画布宽高。 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
...tring): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.blendMo...
来源: Laya3.0_api 发布时间: 20231115
...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", "resour...
来源: Laya3.0_api 发布时间: 20231115
... Ignore Vertices Color 忽略顶点颜色信息,可减小lm文件大小 Texture Setting --- 贴图设置 Original Texture Type --- 需要转换格式的原始纹理类型 ...
来源: Laya_社区 发布时间: 20170428