大约有 303 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
...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
...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
...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
...来自: 176*****233 主要思路就是根据文本里面的关键字(如颜色码)把文本划分成多段,然后再对每段进行单独的渲染。 排版仍然调用Laya的排版函数(这里之所以重写是因为TS的正则需要加转义字符) 目前发现的BUG:右对齐...
来源: Laya_社区 发布时间: 20180417
...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...
来源: Laya3.0_文档 发布时间: 20251010
...h | 必须为32位,否则没有透明层。 | | Presets | 字体的初始颜色。如果用白色字,可以设定为`White text with alpha`,即白色字透明底。 | | Width | 导出的位图宽度 | | Height | 导出的位图高度 | | Font descriptor | 字体描述文件,必须要选择 x...
来源: Laya2.0_文档 发布时间: 20210715
...作文本节点,文本内容直接编辑 非常好用的基于拾色器的颜色调整 使用下拉框来选择文本的水平对齐和垂直对齐方式 字体大小,粗细,描边,overflow超出行为随意调节 5. 基于AOP的暂停与单帧调试运行,能够在不修改源码的情况下控...
来源: Laya_社区 发布时间: 20190225
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集...
来源: Laya3.0_api 发布时间: 20231115