大约有 117 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0077 秒)
...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite ...
来源: Laya3.0_api 发布时间: 20231115
...true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
...拉列表的打开状态。 ComboBox itemColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox it...
来源: Laya2.0_api 发布时间: 20190513
...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.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");...
来源: Laya3.0_api 发布时间: 20231115
...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//...
来源: Laya3.0_api 发布时间: 20231115
...ight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对齐方式 line-...
来源: Laya2.0_api 发布时间: 20190513
...r(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode(): strin...
来源: Laya3.0_api 发布时间: 20231115
...背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗体字...
来源: Laya2.0_api 发布时间: 20190513
...、渲染模式。 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"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():voi...
来源: Laya3.0_api 发布时间: 20231115